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
18class Google_Service_Partners_Location extends Google_Collection
19{
20  protected $collection_key = 'addressLine';
21  public $address;
22  public $addressLine;
23  public $administrativeArea;
24  public $dependentLocality;
25  public $languageCode;
26  protected $latLngType = 'Google_Service_Partners_LatLng';
27  protected $latLngDataType = '';
28  public $locality;
29  public $postalCode;
30  public $regionCode;
31  public $sortingCode;
32
33  public function setAddress($address)
34  {
35    $this->address = $address;
36  }
37  public function getAddress()
38  {
39    return $this->address;
40  }
41  public function setAddressLine($addressLine)
42  {
43    $this->addressLine = $addressLine;
44  }
45  public function getAddressLine()
46  {
47    return $this->addressLine;
48  }
49  public function setAdministrativeArea($administrativeArea)
50  {
51    $this->administrativeArea = $administrativeArea;
52  }
53  public function getAdministrativeArea()
54  {
55    return $this->administrativeArea;
56  }
57  public function setDependentLocality($dependentLocality)
58  {
59    $this->dependentLocality = $dependentLocality;
60  }
61  public function getDependentLocality()
62  {
63    return $this->dependentLocality;
64  }
65  public function setLanguageCode($languageCode)
66  {
67    $this->languageCode = $languageCode;
68  }
69  public function getLanguageCode()
70  {
71    return $this->languageCode;
72  }
73  /**
74   * @param Google_Service_Partners_LatLng
75   */
76  public function setLatLng(Google_Service_Partners_LatLng $latLng)
77  {
78    $this->latLng = $latLng;
79  }
80  /**
81   * @return Google_Service_Partners_LatLng
82   */
83  public function getLatLng()
84  {
85    return $this->latLng;
86  }
87  public function setLocality($locality)
88  {
89    $this->locality = $locality;
90  }
91  public function getLocality()
92  {
93    return $this->locality;
94  }
95  public function setPostalCode($postalCode)
96  {
97    $this->postalCode = $postalCode;
98  }
99  public function getPostalCode()
100  {
101    return $this->postalCode;
102  }
103  public function setRegionCode($regionCode)
104  {
105    $this->regionCode = $regionCode;
106  }
107  public function getRegionCode()
108  {
109    return $this->regionCode;
110  }
111  public function setSortingCode($sortingCode)
112  {
113    $this->sortingCode = $sortingCode;
114  }
115  public function getSortingCode()
116  {
117    return $this->sortingCode;
118  }
119}
120