View Source GoogleApi.Content.V21.Model.ReturnPricingInfo (google_api_content v0.67.1)

Attributes

  • chargeReturnShippingFee (type: boolean(), default: nil) - 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.
  • maxReturnShippingFee (type: GoogleApi.Content.V21.Model.MonetaryAmount.t, default: nil) - 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.
  • refundableItemsTotalAmount (type: GoogleApi.Content.V21.Model.MonetaryAmount.t, default: nil) - 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.
  • refundableShippingAmount (type: GoogleApi.Content.V21.Model.MonetaryAmount.t, default: nil) - Maximum amount that can be refunded for the original shipping fee.
  • totalRefundedAmount (type: GoogleApi.Content.V21.Model.MonetaryAmount.t, default: nil) - 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.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Content.V21.Model.ReturnPricingInfo{
  chargeReturnShippingFee: boolean() | nil,
  maxReturnShippingFee: GoogleApi.Content.V21.Model.MonetaryAmount.t() | nil,
  refundableItemsTotalAmount:
    GoogleApi.Content.V21.Model.MonetaryAmount.t() | nil,
  refundableShippingAmount:
    GoogleApi.Content.V21.Model.MonetaryAmount.t() | nil,
  totalRefundedAmount: GoogleApi.Content.V21.Model.MonetaryAmount.t() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.