1 | <?php |
||
13 | class Address |
||
14 | { |
||
15 | /** |
||
16 | * @var string |
||
17 | */ |
||
18 | private $name; |
||
19 | |||
20 | /** |
||
21 | * @var string |
||
22 | */ |
||
23 | private $phone; |
||
24 | |||
25 | /** |
||
26 | * @var string |
||
27 | */ |
||
28 | private $address1; |
||
29 | |||
30 | /** |
||
31 | * @var string |
||
32 | */ |
||
33 | private $address2; |
||
34 | |||
35 | /** |
||
36 | * @var string |
||
37 | */ |
||
38 | private $city; |
||
39 | |||
40 | /** |
||
41 | * @var string |
||
42 | */ |
||
43 | private $region; |
||
44 | |||
45 | /** |
||
46 | * @var string |
||
47 | */ |
||
48 | private $country; |
||
49 | |||
50 | /** |
||
51 | * @var string |
||
52 | */ |
||
53 | private $zipcode; |
||
54 | |||
55 | /** |
||
56 | * @return string |
||
57 | */ |
||
58 | 2 | public function getName() |
|
62 | |||
63 | /** |
||
64 | * @param string $name |
||
65 | * |
||
66 | * @return $this |
||
67 | */ |
||
68 | 5 | public function setName($name) |
|
74 | |||
75 | /** |
||
76 | * @return string |
||
77 | */ |
||
78 | 2 | public function getPhone() |
|
82 | |||
83 | /** |
||
84 | * @param string $phone |
||
85 | * |
||
86 | * @return $this |
||
87 | */ |
||
88 | 5 | public function setPhone($phone) |
|
94 | |||
95 | /** |
||
96 | * @return string |
||
97 | */ |
||
98 | 2 | public function getAddress1() |
|
102 | |||
103 | /** |
||
104 | * @param string $address1 |
||
105 | * |
||
106 | * @return $this |
||
107 | */ |
||
108 | 5 | public function setAddress1($address1) |
|
114 | |||
115 | /** |
||
116 | * @return string |
||
117 | */ |
||
118 | 2 | public function getAddress2() |
|
122 | |||
123 | /** |
||
124 | * @param string $address2 |
||
125 | * |
||
126 | * @return $this |
||
127 | */ |
||
128 | 5 | public function setAddress2($address2) |
|
134 | |||
135 | /** |
||
136 | * @return string |
||
137 | */ |
||
138 | 2 | public function getCity() |
|
142 | |||
143 | /** |
||
144 | * @param string $city |
||
145 | * |
||
146 | * @return $this |
||
147 | */ |
||
148 | 5 | public function setCity($city) |
|
154 | |||
155 | /** |
||
156 | * @return string |
||
157 | */ |
||
158 | 2 | public function getRegion() |
|
162 | |||
163 | /** |
||
164 | * @param string $region |
||
165 | * |
||
166 | * @return $this |
||
167 | */ |
||
168 | 5 | public function setRegion($region) |
|
174 | |||
175 | /** |
||
176 | * @return string |
||
177 | */ |
||
178 | 2 | public function getCountry() |
|
182 | |||
183 | /** |
||
184 | * @param string $country |
||
185 | * |
||
186 | * @return $this |
||
187 | */ |
||
188 | 5 | public function setCountry($country) |
|
194 | |||
195 | /** |
||
196 | * @return string |
||
197 | */ |
||
198 | 2 | public function getZipcode() |
|
202 | |||
203 | /** |
||
204 | * @param string $zipcode |
||
205 | * |
||
206 | * @return $this |
||
207 | */ |
||
208 | 5 | public function setZipcode($zipcode) |
|
214 | } |
||
215 |