1 | <?php |
||
16 | class Address extends Model |
||
17 | { |
||
18 | use AddressTrait; |
||
19 | |||
20 | /** |
||
21 | * @var int |
||
22 | */ |
||
23 | protected $customerId; |
||
24 | |||
25 | /** |
||
26 | * @var bool |
||
27 | */ |
||
28 | protected $default; |
||
29 | |||
30 | /** |
||
31 | * @return int |
||
32 | */ |
||
33 | public function getCustomerId() |
||
37 | |||
38 | /** |
||
39 | * @param int $customerId |
||
40 | * |
||
41 | * @return Address |
||
42 | */ |
||
43 | public function setCustomerId($customerId) |
||
49 | |||
50 | /** |
||
51 | * @return bool |
||
52 | */ |
||
53 | public function isDefault() |
||
57 | |||
58 | /** |
||
59 | * @param bool $default |
||
60 | * |
||
61 | * @return Address |
||
62 | */ |
||
63 | public function setDefault($default) |
||
69 | } |