| 1 | <?php |
||
| 9 | class Address |
||
| 10 | { |
||
| 11 | /** |
||
| 12 | * @var string |
||
| 13 | */ |
||
| 14 | private $full; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * @var string |
||
| 18 | */ |
||
| 19 | private $zipcode; |
||
| 20 | |||
| 21 | /** |
||
| 22 | * @var string |
||
| 23 | */ |
||
| 24 | private $city; |
||
| 25 | |||
| 26 | /** |
||
| 27 | * @var string |
||
| 28 | */ |
||
| 29 | private $kladr; |
||
| 30 | |||
| 31 | /** |
||
| 32 | * @var string|null |
||
| 33 | */ |
||
| 34 | private $fias; |
||
| 35 | |||
| 36 | /** |
||
| 37 | * @return string |
||
| 38 | */ |
||
| 39 | public function getFull(): string |
||
| 43 | |||
| 44 | /** |
||
| 45 | * @param string $full |
||
| 46 | * @return $this |
||
| 47 | */ |
||
| 48 | public function setFull(string $full) |
||
| 54 | |||
| 55 | /** |
||
| 56 | * @return string |
||
| 57 | */ |
||
| 58 | public function getZipcode(): string |
||
| 62 | |||
| 63 | /** |
||
| 64 | * @param string $zipcode |
||
| 65 | * @return $this |
||
| 66 | */ |
||
| 67 | public function setZipcode(string $zipcode) |
||
| 73 | |||
| 74 | /** |
||
| 75 | * @return string |
||
| 76 | */ |
||
| 77 | public function getCity(): string |
||
| 81 | |||
| 82 | /** |
||
| 83 | * @param string $city |
||
| 84 | * @return $this |
||
| 85 | */ |
||
| 86 | public function setCity(string $city) |
||
| 92 | |||
| 93 | /** |
||
| 94 | * @return string |
||
| 95 | */ |
||
| 96 | public function getKladr(): string |
||
| 100 | |||
| 101 | /** |
||
| 102 | * @param string $kladr |
||
| 103 | * @return $this |
||
| 104 | */ |
||
| 105 | public function setKladr(string $kladr) |
||
| 111 | |||
| 112 | /** |
||
| 113 | * @return string|null |
||
| 114 | */ |
||
| 115 | public function getFias() |
||
| 119 | |||
| 120 | /** |
||
| 121 | * @param string|null $fias |
||
| 122 | * @return $this |
||
| 123 | */ |
||
| 124 | public function setFias(string $fias = null) |
||
| 130 | } |
||
| 131 |