설명 없음

InAppProduct.php 3.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157
  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_AndroidPublisher_InAppProduct extends Google_Model
  18. {
  19. public $defaultLanguage;
  20. protected $defaultPriceType = 'Google_Service_AndroidPublisher_Price';
  21. protected $defaultPriceDataType = '';
  22. public $gracePeriod;
  23. protected $listingsType = 'Google_Service_AndroidPublisher_InAppProductListing';
  24. protected $listingsDataType = 'map';
  25. public $packageName;
  26. protected $pricesType = 'Google_Service_AndroidPublisher_Price';
  27. protected $pricesDataType = 'map';
  28. public $purchaseType;
  29. protected $seasonType = 'Google_Service_AndroidPublisher_Season';
  30. protected $seasonDataType = '';
  31. public $sku;
  32. public $status;
  33. public $subscriptionPeriod;
  34. public $trialPeriod;
  35. public function setDefaultLanguage($defaultLanguage)
  36. {
  37. $this->defaultLanguage = $defaultLanguage;
  38. }
  39. public function getDefaultLanguage()
  40. {
  41. return $this->defaultLanguage;
  42. }
  43. /**
  44. * @param Google_Service_AndroidPublisher_Price
  45. */
  46. public function setDefaultPrice(Google_Service_AndroidPublisher_Price $defaultPrice)
  47. {
  48. $this->defaultPrice = $defaultPrice;
  49. }
  50. /**
  51. * @return Google_Service_AndroidPublisher_Price
  52. */
  53. public function getDefaultPrice()
  54. {
  55. return $this->defaultPrice;
  56. }
  57. public function setGracePeriod($gracePeriod)
  58. {
  59. $this->gracePeriod = $gracePeriod;
  60. }
  61. public function getGracePeriod()
  62. {
  63. return $this->gracePeriod;
  64. }
  65. /**
  66. * @param Google_Service_AndroidPublisher_InAppProductListing
  67. */
  68. public function setListings($listings)
  69. {
  70. $this->listings = $listings;
  71. }
  72. /**
  73. * @return Google_Service_AndroidPublisher_InAppProductListing
  74. */
  75. public function getListings()
  76. {
  77. return $this->listings;
  78. }
  79. public function setPackageName($packageName)
  80. {
  81. $this->packageName = $packageName;
  82. }
  83. public function getPackageName()
  84. {
  85. return $this->packageName;
  86. }
  87. /**
  88. * @param Google_Service_AndroidPublisher_Price
  89. */
  90. public function setPrices($prices)
  91. {
  92. $this->prices = $prices;
  93. }
  94. /**
  95. * @return Google_Service_AndroidPublisher_Price
  96. */
  97. public function getPrices()
  98. {
  99. return $this->prices;
  100. }
  101. public function setPurchaseType($purchaseType)
  102. {
  103. $this->purchaseType = $purchaseType;
  104. }
  105. public function getPurchaseType()
  106. {
  107. return $this->purchaseType;
  108. }
  109. /**
  110. * @param Google_Service_AndroidPublisher_Season
  111. */
  112. public function setSeason(Google_Service_AndroidPublisher_Season $season)
  113. {
  114. $this->season = $season;
  115. }
  116. /**
  117. * @return Google_Service_AndroidPublisher_Season
  118. */
  119. public function getSeason()
  120. {
  121. return $this->season;
  122. }
  123. public function setSku($sku)
  124. {
  125. $this->sku = $sku;
  126. }
  127. public function getSku()
  128. {
  129. return $this->sku;
  130. }
  131. public function setStatus($status)
  132. {
  133. $this->status = $status;
  134. }
  135. public function getStatus()
  136. {
  137. return $this->status;
  138. }
  139. public function setSubscriptionPeriod($subscriptionPeriod)
  140. {
  141. $this->subscriptionPeriod = $subscriptionPeriod;
  142. }
  143. public function getSubscriptionPeriod()
  144. {
  145. return $this->subscriptionPeriod;
  146. }
  147. public function setTrialPeriod($trialPeriod)
  148. {
  149. $this->trialPeriod = $trialPeriod;
  150. }
  151. public function getTrialPeriod()
  152. {
  153. return $this->trialPeriod;
  154. }
  155. }