1<?php
2/*
3 * Copyright 2014 Google Inc.
4 *
5 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
6 * use this file except in compliance with the License. You may obtain a copy of
7 * the License at
8 *
9 * http://www.apache.org/licenses/LICENSE-2.0
10 *
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
13 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
14 * License for the specific language governing permissions and limitations under
15 * the License.
16 */
17
18namespace Google\Service\MyBusinessBusinessInformation;
19
20class Location extends \Google\Collection
21{
22  protected $collection_key = 'serviceItems';
23  protected $adWordsLocationExtensionsType = AdWordsLocationExtensions::class;
24  protected $adWordsLocationExtensionsDataType = '';
25  protected $categoriesType = Categories::class;
26  protected $categoriesDataType = '';
27  /**
28   * @var string[]
29   */
30  public $labels;
31  /**
32   * @var string
33   */
34  public $languageCode;
35  protected $latlngType = LatLng::class;
36  protected $latlngDataType = '';
37  protected $metadataType = Metadata::class;
38  protected $metadataDataType = '';
39  protected $moreHoursType = MoreHours::class;
40  protected $moreHoursDataType = 'array';
41  /**
42   * @var string
43   */
44  public $name;
45  protected $openInfoType = OpenInfo::class;
46  protected $openInfoDataType = '';
47  protected $phoneNumbersType = PhoneNumbers::class;
48  protected $phoneNumbersDataType = '';
49  protected $profileType = Profile::class;
50  protected $profileDataType = '';
51  protected $regularHoursType = BusinessHours::class;
52  protected $regularHoursDataType = '';
53  protected $relationshipDataType = RelationshipData::class;
54  protected $relationshipDataDataType = '';
55  protected $serviceAreaType = ServiceAreaBusiness::class;
56  protected $serviceAreaDataType = '';
57  protected $serviceItemsType = ServiceItem::class;
58  protected $serviceItemsDataType = 'array';
59  protected $specialHoursType = SpecialHours::class;
60  protected $specialHoursDataType = '';
61  /**
62   * @var string
63   */
64  public $storeCode;
65  protected $storefrontAddressType = PostalAddress::class;
66  protected $storefrontAddressDataType = '';
67  /**
68   * @var string
69   */
70  public $title;
71  /**
72   * @var string
73   */
74  public $websiteUri;
75
76  /**
77   * @param AdWordsLocationExtensions
78   */
79  public function setAdWordsLocationExtensions(AdWordsLocationExtensions $adWordsLocationExtensions)
80  {
81    $this->adWordsLocationExtensions = $adWordsLocationExtensions;
82  }
83  /**
84   * @return AdWordsLocationExtensions
85   */
86  public function getAdWordsLocationExtensions()
87  {
88    return $this->adWordsLocationExtensions;
89  }
90  /**
91   * @param Categories
92   */
93  public function setCategories(Categories $categories)
94  {
95    $this->categories = $categories;
96  }
97  /**
98   * @return Categories
99   */
100  public function getCategories()
101  {
102    return $this->categories;
103  }
104  /**
105   * @param string[]
106   */
107  public function setLabels($labels)
108  {
109    $this->labels = $labels;
110  }
111  /**
112   * @return string[]
113   */
114  public function getLabels()
115  {
116    return $this->labels;
117  }
118  /**
119   * @param string
120   */
121  public function setLanguageCode($languageCode)
122  {
123    $this->languageCode = $languageCode;
124  }
125  /**
126   * @return string
127   */
128  public function getLanguageCode()
129  {
130    return $this->languageCode;
131  }
132  /**
133   * @param LatLng
134   */
135  public function setLatlng(LatLng $latlng)
136  {
137    $this->latlng = $latlng;
138  }
139  /**
140   * @return LatLng
141   */
142  public function getLatlng()
143  {
144    return $this->latlng;
145  }
146  /**
147   * @param Metadata
148   */
149  public function setMetadata(Metadata $metadata)
150  {
151    $this->metadata = $metadata;
152  }
153  /**
154   * @return Metadata
155   */
156  public function getMetadata()
157  {
158    return $this->metadata;
159  }
160  /**
161   * @param MoreHours[]
162   */
163  public function setMoreHours($moreHours)
164  {
165    $this->moreHours = $moreHours;
166  }
167  /**
168   * @return MoreHours[]
169   */
170  public function getMoreHours()
171  {
172    return $this->moreHours;
173  }
174  /**
175   * @param string
176   */
177  public function setName($name)
178  {
179    $this->name = $name;
180  }
181  /**
182   * @return string
183   */
184  public function getName()
185  {
186    return $this->name;
187  }
188  /**
189   * @param OpenInfo
190   */
191  public function setOpenInfo(OpenInfo $openInfo)
192  {
193    $this->openInfo = $openInfo;
194  }
195  /**
196   * @return OpenInfo
197   */
198  public function getOpenInfo()
199  {
200    return $this->openInfo;
201  }
202  /**
203   * @param PhoneNumbers
204   */
205  public function setPhoneNumbers(PhoneNumbers $phoneNumbers)
206  {
207    $this->phoneNumbers = $phoneNumbers;
208  }
209  /**
210   * @return PhoneNumbers
211   */
212  public function getPhoneNumbers()
213  {
214    return $this->phoneNumbers;
215  }
216  /**
217   * @param Profile
218   */
219  public function setProfile(Profile $profile)
220  {
221    $this->profile = $profile;
222  }
223  /**
224   * @return Profile
225   */
226  public function getProfile()
227  {
228    return $this->profile;
229  }
230  /**
231   * @param BusinessHours
232   */
233  public function setRegularHours(BusinessHours $regularHours)
234  {
235    $this->regularHours = $regularHours;
236  }
237  /**
238   * @return BusinessHours
239   */
240  public function getRegularHours()
241  {
242    return $this->regularHours;
243  }
244  /**
245   * @param RelationshipData
246   */
247  public function setRelationshipData(RelationshipData $relationshipData)
248  {
249    $this->relationshipData = $relationshipData;
250  }
251  /**
252   * @return RelationshipData
253   */
254  public function getRelationshipData()
255  {
256    return $this->relationshipData;
257  }
258  /**
259   * @param ServiceAreaBusiness
260   */
261  public function setServiceArea(ServiceAreaBusiness $serviceArea)
262  {
263    $this->serviceArea = $serviceArea;
264  }
265  /**
266   * @return ServiceAreaBusiness
267   */
268  public function getServiceArea()
269  {
270    return $this->serviceArea;
271  }
272  /**
273   * @param ServiceItem[]
274   */
275  public function setServiceItems($serviceItems)
276  {
277    $this->serviceItems = $serviceItems;
278  }
279  /**
280   * @return ServiceItem[]
281   */
282  public function getServiceItems()
283  {
284    return $this->serviceItems;
285  }
286  /**
287   * @param SpecialHours
288   */
289  public function setSpecialHours(SpecialHours $specialHours)
290  {
291    $this->specialHours = $specialHours;
292  }
293  /**
294   * @return SpecialHours
295   */
296  public function getSpecialHours()
297  {
298    return $this->specialHours;
299  }
300  /**
301   * @param string
302   */
303  public function setStoreCode($storeCode)
304  {
305    $this->storeCode = $storeCode;
306  }
307  /**
308   * @return string
309   */
310  public function getStoreCode()
311  {
312    return $this->storeCode;
313  }
314  /**
315   * @param PostalAddress
316   */
317  public function setStorefrontAddress(PostalAddress $storefrontAddress)
318  {
319    $this->storefrontAddress = $storefrontAddress;
320  }
321  /**
322   * @return PostalAddress
323   */
324  public function getStorefrontAddress()
325  {
326    return $this->storefrontAddress;
327  }
328  /**
329   * @param string
330   */
331  public function setTitle($title)
332  {
333    $this->title = $title;
334  }
335  /**
336   * @return string
337   */
338  public function getTitle()
339  {
340    return $this->title;
341  }
342  /**
343   * @param string
344   */
345  public function setWebsiteUri($websiteUri)
346  {
347    $this->websiteUri = $websiteUri;
348  }
349  /**
350   * @return string
351   */
352  public function getWebsiteUri()
353  {
354    return $this->websiteUri;
355  }
356}
357
358// Adding a class alias for backwards compatibility with the previous class name.
359class_alias(Location::class, 'Google_Service_MyBusinessBusinessInformation_Location');
360