| 1 |
<?php |
| 2 |
|
| 3 |
namespace App\Billingo\Models; |
| 4 |
|
| 5 |
use App\Billingo\Contracts\ValidableInterface; |
| 6 |
use App\Billingo\Validation\AddressValidator; |
| 7 |
use App\Billingo\Traits\WithFactory; |
| 8 |
|
| 9 |
/** |
| 10 |
* @property string $country_code |
| 11 |
* @property string $post_code |
| 12 |
* @property string $city |
| 13 |
* @property string $address |
| 14 |
*/ |
| 15 |
class Address extends BillingoModel |
| 16 |
{ |
| 17 |
|
| 18 |
use WithFactory; |
| 19 |
protected function getValidator(): ValidableInterface |
| 20 |
{ |
| 21 |
return new AddressValidator(); |
| 22 |
} |
| 23 |
} |
| 24 |
|