暫無描述

VolumeSaleInfoOffers.php 2.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  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_VolumeSaleInfoOffers extends Google_Model
  18. {
  19. public $finskyOfferType;
  20. public $giftable;
  21. protected $listPriceType = 'Google_Service_Books_VolumeSaleInfoOffersListPrice';
  22. protected $listPriceDataType = '';
  23. protected $rentalDurationType = 'Google_Service_Books_VolumeSaleInfoOffersRentalDuration';
  24. protected $rentalDurationDataType = '';
  25. protected $retailPriceType = 'Google_Service_Books_VolumeSaleInfoOffersRetailPrice';
  26. protected $retailPriceDataType = '';
  27. public function setFinskyOfferType($finskyOfferType)
  28. {
  29. $this->finskyOfferType = $finskyOfferType;
  30. }
  31. public function getFinskyOfferType()
  32. {
  33. return $this->finskyOfferType;
  34. }
  35. public function setGiftable($giftable)
  36. {
  37. $this->giftable = $giftable;
  38. }
  39. public function getGiftable()
  40. {
  41. return $this->giftable;
  42. }
  43. /**
  44. * @param Google_Service_Books_VolumeSaleInfoOffersListPrice
  45. */
  46. public function setListPrice(Google_Service_Books_VolumeSaleInfoOffersListPrice $listPrice)
  47. {
  48. $this->listPrice = $listPrice;
  49. }
  50. /**
  51. * @return Google_Service_Books_VolumeSaleInfoOffersListPrice
  52. */
  53. public function getListPrice()
  54. {
  55. return $this->listPrice;
  56. }
  57. /**
  58. * @param Google_Service_Books_VolumeSaleInfoOffersRentalDuration
  59. */
  60. public function setRentalDuration(Google_Service_Books_VolumeSaleInfoOffersRentalDuration $rentalDuration)
  61. {
  62. $this->rentalDuration = $rentalDuration;
  63. }
  64. /**
  65. * @return Google_Service_Books_VolumeSaleInfoOffersRentalDuration
  66. */
  67. public function getRentalDuration()
  68. {
  69. return $this->rentalDuration;
  70. }
  71. /**
  72. * @param Google_Service_Books_VolumeSaleInfoOffersRetailPrice
  73. */
  74. public function setRetailPrice(Google_Service_Books_VolumeSaleInfoOffersRetailPrice $retailPrice)
  75. {
  76. $this->retailPrice = $retailPrice;
  77. }
  78. /**
  79. * @return Google_Service_Books_VolumeSaleInfoOffersRetailPrice
  80. */
  81. public function getRetailPrice()
  82. {
  83. return $this->retailPrice;
  84. }
  85. }