Aucune description

OrdersRefundRequest.php 2.4KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  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_OrdersRefundRequest extends Google_Model
  18. {
  19. protected $amountType = 'Google_Service_ShoppingContent_Price';
  20. protected $amountDataType = '';
  21. protected $amountPretaxType = 'Google_Service_ShoppingContent_Price';
  22. protected $amountPretaxDataType = '';
  23. protected $amountTaxType = 'Google_Service_ShoppingContent_Price';
  24. protected $amountTaxDataType = '';
  25. public $operationId;
  26. public $reason;
  27. public $reasonText;
  28. /**
  29. * @param Google_Service_ShoppingContent_Price
  30. */
  31. public function setAmount(Google_Service_ShoppingContent_Price $amount)
  32. {
  33. $this->amount = $amount;
  34. }
  35. /**
  36. * @return Google_Service_ShoppingContent_Price
  37. */
  38. public function getAmount()
  39. {
  40. return $this->amount;
  41. }
  42. /**
  43. * @param Google_Service_ShoppingContent_Price
  44. */
  45. public function setAmountPretax(Google_Service_ShoppingContent_Price $amountPretax)
  46. {
  47. $this->amountPretax = $amountPretax;
  48. }
  49. /**
  50. * @return Google_Service_ShoppingContent_Price
  51. */
  52. public function getAmountPretax()
  53. {
  54. return $this->amountPretax;
  55. }
  56. /**
  57. * @param Google_Service_ShoppingContent_Price
  58. */
  59. public function setAmountTax(Google_Service_ShoppingContent_Price $amountTax)
  60. {
  61. $this->amountTax = $amountTax;
  62. }
  63. /**
  64. * @return Google_Service_ShoppingContent_Price
  65. */
  66. public function getAmountTax()
  67. {
  68. return $this->amountTax;
  69. }
  70. public function setOperationId($operationId)
  71. {
  72. $this->operationId = $operationId;
  73. }
  74. public function getOperationId()
  75. {
  76. return $this->operationId;
  77. }
  78. public function setReason($reason)
  79. {
  80. $this->reason = $reason;
  81. }
  82. public function getReason()
  83. {
  84. return $this->reason;
  85. }
  86. public function setReasonText($reasonText)
  87. {
  88. $this->reasonText = $reasonText;
  89. }
  90. public function getReasonText()
  91. {
  92. return $this->reasonText;
  93. }
  94. }