Geen omschrijving

Location.php 2.8KB

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