| 1 |
<?php |
| 2 |
|
| 3 |
namespace SureCart\Controllers\Rest; |
| 4 |
|
| 5 |
use SureCart\Models\TaxRegistration; |
| 6 |
|
| 7 |
/** |
| 8 |
* Handle coupon requests through the REST API |
| 9 |
*/ |
| 10 |
class TaxRegistrationController extends RestController { |
| 11 |
/** |
| 12 |
* Always fetch with these subcollections. |
| 13 |
* |
| 14 |
* @var array |
| 15 |
*/ |
| 16 |
protected $with = [ 'tax_identifier', 'tax_zone' ]; |
| 17 |
/** |
| 18 |
* Class to make the requests. |
| 19 |
* |
| 20 |
* @var string |
| 21 |
*/ |
| 22 |
protected $class = TaxRegistration::class; |
| 23 |
} |
| 24 |
|