설명 없음

TestOrderLineItemProduct.php 3.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153
  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_TestOrderLineItemProduct extends Google_Collection
  18. {
  19. protected $collection_key = 'variantAttributes';
  20. public $brand;
  21. public $channel;
  22. public $condition;
  23. public $contentLanguage;
  24. public $gtin;
  25. public $imageLink;
  26. public $itemGroupId;
  27. public $mpn;
  28. public $offerId;
  29. protected $priceType = 'Google_Service_ShoppingContent_Price';
  30. protected $priceDataType = '';
  31. public $targetCountry;
  32. public $title;
  33. protected $variantAttributesType = 'Google_Service_ShoppingContent_OrderLineItemProductVariantAttribute';
  34. protected $variantAttributesDataType = 'array';
  35. public function setBrand($brand)
  36. {
  37. $this->brand = $brand;
  38. }
  39. public function getBrand()
  40. {
  41. return $this->brand;
  42. }
  43. public function setChannel($channel)
  44. {
  45. $this->channel = $channel;
  46. }
  47. public function getChannel()
  48. {
  49. return $this->channel;
  50. }
  51. public function setCondition($condition)
  52. {
  53. $this->condition = $condition;
  54. }
  55. public function getCondition()
  56. {
  57. return $this->condition;
  58. }
  59. public function setContentLanguage($contentLanguage)
  60. {
  61. $this->contentLanguage = $contentLanguage;
  62. }
  63. public function getContentLanguage()
  64. {
  65. return $this->contentLanguage;
  66. }
  67. public function setGtin($gtin)
  68. {
  69. $this->gtin = $gtin;
  70. }
  71. public function getGtin()
  72. {
  73. return $this->gtin;
  74. }
  75. public function setImageLink($imageLink)
  76. {
  77. $this->imageLink = $imageLink;
  78. }
  79. public function getImageLink()
  80. {
  81. return $this->imageLink;
  82. }
  83. public function setItemGroupId($itemGroupId)
  84. {
  85. $this->itemGroupId = $itemGroupId;
  86. }
  87. public function getItemGroupId()
  88. {
  89. return $this->itemGroupId;
  90. }
  91. public function setMpn($mpn)
  92. {
  93. $this->mpn = $mpn;
  94. }
  95. public function getMpn()
  96. {
  97. return $this->mpn;
  98. }
  99. public function setOfferId($offerId)
  100. {
  101. $this->offerId = $offerId;
  102. }
  103. public function getOfferId()
  104. {
  105. return $this->offerId;
  106. }
  107. /**
  108. * @param Google_Service_ShoppingContent_Price
  109. */
  110. public function setPrice(Google_Service_ShoppingContent_Price $price)
  111. {
  112. $this->price = $price;
  113. }
  114. /**
  115. * @return Google_Service_ShoppingContent_Price
  116. */
  117. public function getPrice()
  118. {
  119. return $this->price;
  120. }
  121. public function setTargetCountry($targetCountry)
  122. {
  123. $this->targetCountry = $targetCountry;
  124. }
  125. public function getTargetCountry()
  126. {
  127. return $this->targetCountry;
  128. }
  129. public function setTitle($title)
  130. {
  131. $this->title = $title;
  132. }
  133. public function getTitle()
  134. {
  135. return $this->title;
  136. }
  137. /**
  138. * @param Google_Service_ShoppingContent_OrderLineItemProductVariantAttribute
  139. */
  140. public function setVariantAttributes($variantAttributes)
  141. {
  142. $this->variantAttributes = $variantAttributes;
  143. }
  144. /**
  145. * @return Google_Service_ShoppingContent_OrderLineItemProductVariantAttribute
  146. */
  147. public function getVariantAttributes()
  148. {
  149. return $this->variantAttributes;
  150. }
  151. }