| 1 | <?php |
||
| 7 | class Address |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * @var string |
||
| 11 | */ |
||
| 12 | protected $line1; |
||
| 13 | |||
| 14 | /** |
||
| 15 | * @var string |
||
| 16 | */ |
||
| 17 | protected $line2; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * @var string |
||
| 21 | */ |
||
| 22 | protected $postcode; |
||
| 23 | |||
| 24 | /** |
||
| 25 | * @var string |
||
| 26 | */ |
||
| 27 | protected $city; |
||
| 28 | |||
| 29 | /** |
||
| 30 | * @var string |
||
| 31 | */ |
||
| 32 | protected $state; |
||
| 33 | |||
| 34 | /** |
||
| 35 | * @var string |
||
| 36 | */ |
||
| 37 | protected $country; |
||
| 38 | |||
| 39 | public function getLine1(): string |
||
| 43 | |||
| 44 | public function setLine1(string $line1) |
||
| 48 | |||
| 49 | public function getLine2(): string |
||
| 53 | |||
| 54 | public function setLine2(string $line2) |
||
| 58 | |||
| 59 | public function getFullAddress(): string |
||
| 63 | |||
| 64 | public function getPostcode(): string |
||
| 68 | |||
| 69 | public function setPostcode(string $postcode) |
||
| 73 | |||
| 74 | public function getCity(): string |
||
| 78 | |||
| 79 | public function setCity(string $city) |
||
| 83 | |||
| 84 | public function getState(): string |
||
| 88 | |||
| 89 | public function setState(string $state) |
||
| 93 | |||
| 94 | public function getCountry(): string |
||
| 98 | |||
| 99 | public function setCountry(string $country) |
||
| 103 | } |
||
| 104 |