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 18namespace Google\Service\ShoppingContent; 19 20class ReturnPricingInfo extends \Google\Model 21{ 22 /** 23 * @var bool 24 */ 25 public $chargeReturnShippingFee; 26 protected $maxReturnShippingFeeType = MonetaryAmount::class; 27 protected $maxReturnShippingFeeDataType = ''; 28 protected $refundableItemsTotalAmountType = MonetaryAmount::class; 29 protected $refundableItemsTotalAmountDataType = ''; 30 protected $refundableShippingAmountType = MonetaryAmount::class; 31 protected $refundableShippingAmountDataType = ''; 32 protected $totalRefundedAmountType = MonetaryAmount::class; 33 protected $totalRefundedAmountDataType = ''; 34 35 /** 36 * @param bool 37 */ 38 public function setChargeReturnShippingFee($chargeReturnShippingFee) 39 { 40 $this->chargeReturnShippingFee = $chargeReturnShippingFee; 41 } 42 /** 43 * @return bool 44 */ 45 public function getChargeReturnShippingFee() 46 { 47 return $this->chargeReturnShippingFee; 48 } 49 /** 50 * @param MonetaryAmount 51 */ 52 public function setMaxReturnShippingFee(MonetaryAmount $maxReturnShippingFee) 53 { 54 $this->maxReturnShippingFee = $maxReturnShippingFee; 55 } 56 /** 57 * @return MonetaryAmount 58 */ 59 public function getMaxReturnShippingFee() 60 { 61 return $this->maxReturnShippingFee; 62 } 63 /** 64 * @param MonetaryAmount 65 */ 66 public function setRefundableItemsTotalAmount(MonetaryAmount $refundableItemsTotalAmount) 67 { 68 $this->refundableItemsTotalAmount = $refundableItemsTotalAmount; 69 } 70 /** 71 * @return MonetaryAmount 72 */ 73 public function getRefundableItemsTotalAmount() 74 { 75 return $this->refundableItemsTotalAmount; 76 } 77 /** 78 * @param MonetaryAmount 79 */ 80 public function setRefundableShippingAmount(MonetaryAmount $refundableShippingAmount) 81 { 82 $this->refundableShippingAmount = $refundableShippingAmount; 83 } 84 /** 85 * @return MonetaryAmount 86 */ 87 public function getRefundableShippingAmount() 88 { 89 return $this->refundableShippingAmount; 90 } 91 /** 92 * @param MonetaryAmount 93 */ 94 public function setTotalRefundedAmount(MonetaryAmount $totalRefundedAmount) 95 { 96 $this->totalRefundedAmount = $totalRefundedAmount; 97 } 98 /** 99 * @return MonetaryAmount 100 */ 101 public function getTotalRefundedAmount() 102 { 103 return $this->totalRefundedAmount; 104 } 105} 106 107// Adding a class alias for backwards compatibility with the previous class name. 108class_alias(ReturnPricingInfo::class, 'Google_Service_ShoppingContent_ReturnPricingInfo'); 109