class Google::Apis::ContentV2_1::ReturnPricingInfo

Attributes

charge_return_shipping_fee[RW]

Default option for whether merchant should charge the customer for return shipping costs, based on customer selected return reason and merchant's return policy for the items being returned. Corresponds to the JSON property `chargeReturnShippingFee` @return [Boolean]

charge_return_shipping_fee?[RW]

Default option for whether merchant should charge the customer for return shipping costs, based on customer selected return reason and merchant's return policy for the items being returned. Corresponds to the JSON property `chargeReturnShippingFee` @return [Boolean]

max_return_shipping_fee[RW]

Maximum return shipping costs that may be charged to the customer depending on merchant's assessment of the return reason and the merchant's return policy for the items being returned. Corresponds to the JSON property `maxReturnShippingFee` @return [Google::Apis::ContentV2_1::MonetaryAmount]

refundable_items_total_amount[RW]

Total amount that can be refunded for the items in this return. It represents the total amount received by the merchant for the items, after applying merchant coupons. Corresponds to the JSON property `refundableItemsTotalAmount` @return [Google::Apis::ContentV2_1::MonetaryAmount]

refundable_shipping_amount[RW]

Maximum amount that can be refunded for the original shipping fee. Corresponds to the JSON property `refundableShippingAmount` @return [Google::Apis::ContentV2_1::MonetaryAmount]

total_refunded_amount[RW]

Total amount already refunded by the merchant. It includes all types of refunds (items, shipping, etc.) Not provided if no refund has been applied yet. Corresponds to the JSON property `totalRefundedAmount` @return [Google::Apis::ContentV2_1::MonetaryAmount]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/content_v2_1/classes.rb, line 13371
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/content_v2_1/classes.rb, line 13376
def update!(**args)
  @charge_return_shipping_fee = args[:charge_return_shipping_fee] if args.key?(:charge_return_shipping_fee)
  @max_return_shipping_fee = args[:max_return_shipping_fee] if args.key?(:max_return_shipping_fee)
  @refundable_items_total_amount = args[:refundable_items_total_amount] if args.key?(:refundable_items_total_amount)
  @refundable_shipping_amount = args[:refundable_shipping_amount] if args.key?(:refundable_shipping_amount)
  @total_refunded_amount = args[:total_refunded_amount] if args.key?(:total_refunded_amount)
end