暫無描述

OrderAddress.php 2.2KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  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_ShoppingContent_OrderAddress extends Google_Collection
  18. {
  19. protected $collection_key = 'streetAddress';
  20. public $country;
  21. public $fullAddress;
  22. public $isPostOfficeBox;
  23. public $locality;
  24. public $postalCode;
  25. public $recipientName;
  26. public $region;
  27. public $streetAddress;
  28. public function setCountry($country)
  29. {
  30. $this->country = $country;
  31. }
  32. public function getCountry()
  33. {
  34. return $this->country;
  35. }
  36. public function setFullAddress($fullAddress)
  37. {
  38. $this->fullAddress = $fullAddress;
  39. }
  40. public function getFullAddress()
  41. {
  42. return $this->fullAddress;
  43. }
  44. public function setIsPostOfficeBox($isPostOfficeBox)
  45. {
  46. $this->isPostOfficeBox = $isPostOfficeBox;
  47. }
  48. public function getIsPostOfficeBox()
  49. {
  50. return $this->isPostOfficeBox;
  51. }
  52. public function setLocality($locality)
  53. {
  54. $this->locality = $locality;
  55. }
  56. public function getLocality()
  57. {
  58. return $this->locality;
  59. }
  60. public function setPostalCode($postalCode)
  61. {
  62. $this->postalCode = $postalCode;
  63. }
  64. public function getPostalCode()
  65. {
  66. return $this->postalCode;
  67. }
  68. public function setRecipientName($recipientName)
  69. {
  70. $this->recipientName = $recipientName;
  71. }
  72. public function getRecipientName()
  73. {
  74. return $this->recipientName;
  75. }
  76. public function setRegion($region)
  77. {
  78. $this->region = $region;
  79. }
  80. public function getRegion()
  81. {
  82. return $this->region;
  83. }
  84. public function setStreetAddress($streetAddress)
  85. {
  86. $this->streetAddress = $streetAddress;
  87. }
  88. public function getStreetAddress()
  89. {
  90. return $this->streetAddress;
  91. }
  92. }