1 | <?php |
||
21 | class Place |
||
22 | { |
||
23 | /** |
||
24 | * @var PlaceId |
||
25 | */ |
||
26 | private $id; |
||
27 | |||
28 | /** |
||
29 | * @var PlaceName |
||
30 | */ |
||
31 | private $name; |
||
32 | |||
33 | /** |
||
34 | * @var Vicinity |
||
35 | */ |
||
36 | private $vicinity; |
||
37 | |||
38 | /** |
||
39 | * @var FormattedAddress |
||
40 | */ |
||
41 | private $formattedAddress; |
||
42 | |||
43 | /** |
||
44 | * @var FormattedPhoneNumber |
||
45 | */ |
||
46 | private $formattedPhoneNumber; |
||
47 | |||
48 | /** |
||
49 | * @var OpeningHours |
||
50 | */ |
||
51 | private $openingHours; |
||
52 | |||
53 | /** |
||
54 | * @var Icon |
||
55 | */ |
||
56 | private $icon; |
||
57 | |||
58 | /** |
||
59 | * @var InternationalPhoneNumber |
||
60 | */ |
||
61 | private $internationalPhoneNumber; |
||
62 | |||
63 | /** |
||
64 | * @var Website |
||
65 | */ |
||
66 | private $website; |
||
67 | |||
68 | /** |
||
69 | * @var Url |
||
70 | */ |
||
71 | private $url; |
||
72 | |||
73 | /** |
||
74 | * @var Location |
||
75 | */ |
||
76 | private $location; |
||
77 | |||
78 | /** |
||
79 | * @var TypeCollection |
||
80 | */ |
||
81 | private $types; |
||
82 | |||
83 | /** |
||
84 | * @var AddressComponentCollection |
||
85 | */ |
||
86 | private $addressComponents; |
||
87 | |||
88 | /** |
||
89 | * @var PhotoCollection |
||
90 | */ |
||
91 | private $photos; |
||
92 | |||
93 | public function __construct() |
||
99 | |||
100 | /** |
||
101 | * @return PlaceId |
||
102 | */ |
||
103 | public function getId() |
||
107 | |||
108 | /** |
||
109 | * @param PlaceId $id |
||
110 | * |
||
111 | * @return $this |
||
112 | */ |
||
113 | public function setId(PlaceId $id) |
||
119 | |||
120 | /** |
||
121 | * @return PlaceName |
||
122 | */ |
||
123 | public function getName() |
||
127 | |||
128 | /** |
||
129 | * @param PlaceName $name |
||
130 | * |
||
131 | * @return $this |
||
132 | */ |
||
133 | public function setName(PlaceName $name) |
||
139 | |||
140 | /** |
||
141 | * @return Vicinity |
||
142 | */ |
||
143 | public function getVicinity() |
||
147 | |||
148 | /** |
||
149 | * @param Vicinity $vicinity |
||
150 | * |
||
151 | * @return $this |
||
152 | */ |
||
153 | public function setVicinity(Vicinity $vicinity = null) |
||
159 | |||
160 | /** |
||
161 | * @return Location |
||
162 | */ |
||
163 | public function getLocation() |
||
167 | |||
168 | /** |
||
169 | * @param Location $location |
||
170 | * |
||
171 | * @return $this |
||
172 | */ |
||
173 | public function setLocation(Location $location = null) |
||
179 | |||
180 | /** |
||
181 | * @return TypeCollection |
||
182 | */ |
||
183 | public function getTypes() |
||
187 | |||
188 | /** |
||
189 | * @param TypeCollection $types |
||
190 | * |
||
191 | * @return $this |
||
192 | */ |
||
193 | public function setTypes(TypeCollection $types) |
||
199 | |||
200 | /** |
||
201 | * @return FormattedAddress |
||
202 | */ |
||
203 | public function getFormattedAddress() |
||
207 | |||
208 | /** |
||
209 | * @param FormattedAddress $formattedAddress |
||
210 | * |
||
211 | * @return $this |
||
212 | */ |
||
213 | public function setFormattedAddress(FormattedAddress $formattedAddress = null) |
||
219 | |||
220 | /** |
||
221 | * @return FormattedPhoneNumber |
||
222 | */ |
||
223 | public function getFormattedPhoneNumber() |
||
227 | |||
228 | /** |
||
229 | * @param FormattedPhoneNumber $formattedPhoneNumber |
||
230 | * |
||
231 | * @return $this |
||
232 | */ |
||
233 | public function setFormattedPhoneNumber(FormattedPhoneNumber $formattedPhoneNumber = null) |
||
239 | |||
240 | /** |
||
241 | * @return Icon |
||
242 | */ |
||
243 | public function getIcon() |
||
247 | |||
248 | /** |
||
249 | * @param Icon $icon |
||
250 | * |
||
251 | * @return $this |
||
252 | */ |
||
253 | public function setIcon(Icon $icon = null) |
||
259 | |||
260 | /** |
||
261 | * @return InternationalPhoneNumber |
||
262 | */ |
||
263 | public function getInternationalPhoneNumber() |
||
267 | |||
268 | /** |
||
269 | * @param InternationalPhoneNumber $internationalPhoneNumber |
||
270 | * |
||
271 | * @return $this |
||
272 | */ |
||
273 | public function setInternationalPhoneNumber(InternationalPhoneNumber $internationalPhoneNumber = null) |
||
279 | |||
280 | /** |
||
281 | * @return Website |
||
282 | */ |
||
283 | public function getWebsite() |
||
287 | |||
288 | /** |
||
289 | * @param Website $website |
||
290 | * |
||
291 | * @return $this |
||
292 | */ |
||
293 | public function setWebsite(Website $website = null) |
||
299 | |||
300 | /** |
||
301 | * @return Url |
||
302 | */ |
||
303 | public function getUrl() |
||
307 | |||
308 | /** |
||
309 | * @param Url $url |
||
310 | * |
||
311 | * @return $this |
||
312 | */ |
||
313 | public function setUrl(Url $url = null) |
||
319 | |||
320 | /** |
||
321 | * @return AddressComponentCollection |
||
322 | */ |
||
323 | public function getAddressComponents() |
||
327 | |||
328 | /** |
||
329 | * @param AddressComponentCollection $addressComponents |
||
330 | * |
||
331 | * @return $this |
||
332 | */ |
||
333 | public function setAddressComponents(AddressComponentCollection $addressComponents) |
||
339 | |||
340 | /** |
||
341 | * @return PhotoCollection|Photo[] |
||
342 | */ |
||
343 | public function getPhotos() |
||
347 | |||
348 | /** |
||
349 | * @param PhotoCollection $photos |
||
350 | * |
||
351 | * @return $this |
||
352 | */ |
||
353 | public function setPhotos(PhotoCollection $photos) |
||
359 | |||
360 | /** |
||
361 | * @return OpeningHours |
||
362 | */ |
||
363 | public function getOpeningHours() |
||
367 | |||
368 | /** |
||
369 | * @param OpeningHours $openingHours |
||
370 | * @return $this |
||
371 | */ |
||
372 | public function setOpeningHours(OpeningHours $openingHours = null) |
||
378 | } |
||
379 |