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

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 via 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.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

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

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.