설명 없음

PosSaleRequest.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_PosSaleRequest 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 $saleId;
  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. /**
  54. * @param Google_Service_ShoppingContent_Price
  55. */
  56. public function setPrice(Google_Service_ShoppingContent_Price $price)
  57. {
  58. $this->price = $price;
  59. }
  60. /**
  61. * @return Google_Service_ShoppingContent_Price
  62. */
  63. public function getPrice()
  64. {
  65. return $this->price;
  66. }
  67. public function setQuantity($quantity)
  68. {
  69. $this->quantity = $quantity;
  70. }
  71. public function getQuantity()
  72. {
  73. return $this->quantity;
  74. }
  75. public function setSaleId($saleId)
  76. {
  77. $this->saleId = $saleId;
  78. }
  79. public function getSaleId()
  80. {
  81. return $this->saleId;
  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. }