Ingen beskrivning

VolumeSaleInfo.php 2.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  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_Books_VolumeSaleInfo extends Google_Collection
  18. {
  19. protected $collection_key = 'offers';
  20. public $buyLink;
  21. public $country;
  22. public $isEbook;
  23. protected $listPriceType = 'Google_Service_Books_VolumeSaleInfoListPrice';
  24. protected $listPriceDataType = '';
  25. protected $offersType = 'Google_Service_Books_VolumeSaleInfoOffers';
  26. protected $offersDataType = 'array';
  27. public $onSaleDate;
  28. protected $retailPriceType = 'Google_Service_Books_VolumeSaleInfoRetailPrice';
  29. protected $retailPriceDataType = '';
  30. public $saleability;
  31. public function setBuyLink($buyLink)
  32. {
  33. $this->buyLink = $buyLink;
  34. }
  35. public function getBuyLink()
  36. {
  37. return $this->buyLink;
  38. }
  39. public function setCountry($country)
  40. {
  41. $this->country = $country;
  42. }
  43. public function getCountry()
  44. {
  45. return $this->country;
  46. }
  47. public function setIsEbook($isEbook)
  48. {
  49. $this->isEbook = $isEbook;
  50. }
  51. public function getIsEbook()
  52. {
  53. return $this->isEbook;
  54. }
  55. /**
  56. * @param Google_Service_Books_VolumeSaleInfoListPrice
  57. */
  58. public function setListPrice(Google_Service_Books_VolumeSaleInfoListPrice $listPrice)
  59. {
  60. $this->listPrice = $listPrice;
  61. }
  62. /**
  63. * @return Google_Service_Books_VolumeSaleInfoListPrice
  64. */
  65. public function getListPrice()
  66. {
  67. return $this->listPrice;
  68. }
  69. /**
  70. * @param Google_Service_Books_VolumeSaleInfoOffers
  71. */
  72. public function setOffers($offers)
  73. {
  74. $this->offers = $offers;
  75. }
  76. /**
  77. * @return Google_Service_Books_VolumeSaleInfoOffers
  78. */
  79. public function getOffers()
  80. {
  81. return $this->offers;
  82. }
  83. public function setOnSaleDate($onSaleDate)
  84. {
  85. $this->onSaleDate = $onSaleDate;
  86. }
  87. public function getOnSaleDate()
  88. {
  89. return $this->onSaleDate;
  90. }
  91. /**
  92. * @param Google_Service_Books_VolumeSaleInfoRetailPrice
  93. */
  94. public function setRetailPrice(Google_Service_Books_VolumeSaleInfoRetailPrice $retailPrice)
  95. {
  96. $this->retailPrice = $retailPrice;
  97. }
  98. /**
  99. * @return Google_Service_Books_VolumeSaleInfoRetailPrice
  100. */
  101. public function getRetailPrice()
  102. {
  103. return $this->retailPrice;
  104. }
  105. public function setSaleability($saleability)
  106. {
  107. $this->saleability = $saleability;
  108. }
  109. public function getSaleability()
  110. {
  111. return $this->saleability;
  112. }
  113. }