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

Attributes

  • fullRefund (type: boolean(), default: nil) - If true, the item will be fully refunded. Allowed only when payment_type is FOP. Merchant can choose this refund option to indicate the full remaining amount of corresponding object to be refunded to the customer through FOP.
  • partialRefund (type: GoogleApi.Content.V21.Model.OrderreturnsPartialRefund.t, default: nil) - If this is set, the item will be partially refunded. Merchant can choose this refund option to specify the customized amount that to be refunded to the customer.
  • paymentType (type: String.t, default: nil) - The payment way of issuing refund. Default value is ORIGINAL_FOP if not set.
  • reasonText (type: String.t, default: nil) - The explanation of the reason.
  • returnRefundReason (type: String.t, default: nil) - Code of the refund reason.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Content.V21.Model.OrderreturnsRefundOperation{
  fullRefund: boolean() | nil,
  partialRefund:
    GoogleApi.Content.V21.Model.OrderreturnsPartialRefund.t() | nil,
  paymentType: String.t() | nil,
  reasonText: String.t() | nil,
  returnRefundReason: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.