Sin descripción

InventorySetRequest.php 3.7KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137
  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_InventorySetRequest extends Google_Model
  18. {
  19. public $availability;
  20. protected $installmentType = 'Google_Service_ShoppingContent_Installment';
  21. protected $installmentDataType = '';
  22. protected $loyaltyPointsType = 'Google_Service_ShoppingContent_LoyaltyPoints';
  23. protected $loyaltyPointsDataType = '';
  24. protected $pickupType = 'Google_Service_ShoppingContent_InventoryPickup';
  25. protected $pickupDataType = '';
  26. protected $priceType = 'Google_Service_ShoppingContent_Price';
  27. protected $priceDataType = '';
  28. public $quantity;
  29. protected $salePriceType = 'Google_Service_ShoppingContent_Price';
  30. protected $salePriceDataType = '';
  31. public $salePriceEffectiveDate;
  32. public $sellOnGoogleQuantity;
  33. public function setAvailability($availability)
  34. {
  35. $this->availability = $availability;
  36. }
  37. public function getAvailability()
  38. {
  39. return $this->availability;
  40. }
  41. /**
  42. * @param Google_Service_ShoppingContent_Installment
  43. */
  44. public function setInstallment(Google_Service_ShoppingContent_Installment $installment)
  45. {
  46. $this->installment = $installment;
  47. }
  48. /**
  49. * @return Google_Service_ShoppingContent_Installment
  50. */
  51. public function getInstallment()
  52. {
  53. return $this->installment;
  54. }
  55. /**
  56. * @param Google_Service_ShoppingContent_LoyaltyPoints
  57. */
  58. public function setLoyaltyPoints(Google_Service_ShoppingContent_LoyaltyPoints $loyaltyPoints)
  59. {
  60. $this->loyaltyPoints = $loyaltyPoints;
  61. }
  62. /**
  63. * @return Google_Service_ShoppingContent_LoyaltyPoints
  64. */
  65. public function getLoyaltyPoints()
  66. {
  67. return $this->loyaltyPoints;
  68. }
  69. /**
  70. * @param Google_Service_ShoppingContent_InventoryPickup
  71. */
  72. public function setPickup(Google_Service_ShoppingContent_InventoryPickup $pickup)
  73. {
  74. $this->pickup = $pickup;
  75. }
  76. /**
  77. * @return Google_Service_ShoppingContent_InventoryPickup
  78. */
  79. public function getPickup()
  80. {
  81. return $this->pickup;
  82. }
  83. /**
  84. * @param Google_Service_ShoppingContent_Price
  85. */
  86. public function setPrice(Google_Service_ShoppingContent_Price $price)
  87. {
  88. $this->price = $price;
  89. }
  90. /**
  91. * @return Google_Service_ShoppingContent_Price
  92. */
  93. public function getPrice()
  94. {
  95. return $this->price;
  96. }
  97. public function setQuantity($quantity)
  98. {
  99. $this->quantity = $quantity;
  100. }
  101. public function getQuantity()
  102. {
  103. return $this->quantity;
  104. }
  105. /**
  106. * @param Google_Service_ShoppingContent_Price
  107. */
  108. public function setSalePrice(Google_Service_ShoppingContent_Price $salePrice)
  109. {
  110. $this->salePrice = $salePrice;
  111. }
  112. /**
  113. * @return Google_Service_ShoppingContent_Price
  114. */
  115. public function getSalePrice()
  116. {
  117. return $this->salePrice;
  118. }
  119. public function setSalePriceEffectiveDate($salePriceEffectiveDate)
  120. {
  121. $this->salePriceEffectiveDate = $salePriceEffectiveDate;
  122. }
  123. public function getSalePriceEffectiveDate()
  124. {
  125. return $this->salePriceEffectiveDate;
  126. }
  127. public function setSellOnGoogleQuantity($sellOnGoogleQuantity)
  128. {
  129. $this->sellOnGoogleQuantity = $sellOnGoogleQuantity;
  130. }
  131. public function getSellOnGoogleQuantity()
  132. {
  133. return $this->sellOnGoogleQuantity;
  134. }
  135. }