| 1 | <?php |
||
| 9 | final class UpdateAddress |
||
| 10 | { |
||
| 11 | /** |
||
| 12 | * @var Address |
||
| 13 | */ |
||
| 14 | private $address; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * @param Address $address |
||
| 18 | */ |
||
| 19 | public function __construct(Address $address) |
||
| 23 | |||
| 24 | /** |
||
| 25 | * @return string |
||
| 26 | */ |
||
| 27 | public function id(): string |
||
| 31 | |||
| 32 | /** |
||
| 33 | * @return string |
||
| 34 | */ |
||
| 35 | public function firstName(): string |
||
| 39 | |||
| 40 | /** |
||
| 41 | * @return string |
||
| 42 | */ |
||
| 43 | public function lastName(): string |
||
| 47 | |||
| 48 | /** |
||
| 49 | * @return string|null |
||
| 50 | */ |
||
| 51 | public function company(): ?string |
||
| 55 | |||
| 56 | /** |
||
| 57 | * @return string |
||
| 58 | */ |
||
| 59 | public function street(): string |
||
| 63 | |||
| 64 | /** |
||
| 65 | * @return string |
||
| 66 | */ |
||
| 67 | public function countryCode(): string |
||
| 71 | |||
| 72 | /** |
||
| 73 | * @return string|null |
||
| 74 | */ |
||
| 75 | public function provinceCode(): ?string |
||
| 79 | |||
| 80 | /** |
||
| 81 | * @return string |
||
| 82 | */ |
||
| 83 | public function city(): string |
||
| 87 | |||
| 88 | /** |
||
| 89 | * @return string |
||
| 90 | */ |
||
| 91 | public function postcode(): string |
||
| 95 | |||
| 96 | /** |
||
| 97 | * @return string|null |
||
| 98 | */ |
||
| 99 | public function phoneNumber(): ?string |
||
| 103 | } |
||
| 104 |