Brak opisu

PosInventoryRequest.php 2.3KB

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