暂无描述

PosInventoryResponse.php 2.4KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  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_PosInventoryResponse extends Google_Model
  18. {
  19. public $contentLanguage;
  20. public $gtin;
  21. public $itemId;
  22. public $kind;
  23. protected $priceType = 'Google_Service_ShoppingContent_Price';
  24. protected $priceDataType = '';
  25. public $quantity;
  26. public $storeCode;
  27. public $targetCountry;
  28. public $timestamp;
  29. public function setContentLanguage($contentLanguage)
  30. {
  31. $this->contentLanguage = $contentLanguage;
  32. }
  33. public function getContentLanguage()
  34. {
  35. return $this->contentLanguage;
  36. }
  37. public function setGtin($gtin)
  38. {
  39. $this->gtin = $gtin;
  40. }
  41. public function getGtin()
  42. {
  43. return $this->gtin;
  44. }
  45. public function setItemId($itemId)
  46. {
  47. $this->itemId = $itemId;
  48. }
  49. public function getItemId()
  50. {
  51. return $this->itemId;
  52. }
  53. public function setKind($kind)
  54. {
  55. $this->kind = $kind;
  56. }
  57. public function getKind()
  58. {
  59. return $this->kind;
  60. }
  61. /**
  62. * @param Google_Service_ShoppingContent_Price
  63. */
  64. public function setPrice(Google_Service_ShoppingContent_Price $price)
  65. {
  66. $this->price = $price;
  67. }
  68. /**
  69. * @return Google_Service_ShoppingContent_Price
  70. */
  71. public function getPrice()
  72. {
  73. return $this->price;
  74. }
  75. public function setQuantity($quantity)
  76. {
  77. $this->quantity = $quantity;
  78. }
  79. public function getQuantity()
  80. {
  81. return $this->quantity;
  82. }
  83. public function setStoreCode($storeCode)
  84. {
  85. $this->storeCode = $storeCode;
  86. }
  87. public function getStoreCode()
  88. {
  89. return $this->storeCode;
  90. }
  91. public function setTargetCountry($targetCountry)
  92. {
  93. $this->targetCountry = $targetCountry;
  94. }
  95. public function getTargetCountry()
  96. {
  97. return $this->targetCountry;
  98. }
  99. public function setTimestamp($timestamp)
  100. {
  101. $this->timestamp = $timestamp;
  102. }
  103. public function getTimestamp()
  104. {
  105. return $this->timestamp;
  106. }
  107. }