google_api_content v0.4.0 GoogleApi.Content.V2.Model.OrdersRefundRequest View Source

Attributes

  • amount (Price): Deprecated. Please use amountPretax and amountTax instead. Defaults to: null.
  • amountPretax (Price): The amount that is refunded. Either amount or amountPretax should be filled. Defaults to: null.
  • amountTax (Price): Tax amount that corresponds to refund amount in amountPretax. Optional, but if filled, amountPretax must be set. Calculated automatically if not provided. Defaults to: null.
  • operationId (String.t): The ID of the operation. Unique across all operations for a given order. Defaults to: null.
  • reason (String.t): The reason for the refund. Defaults to: null.
  • reasonText (String.t): The explanation of the reason. Defaults to: null.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields

Link to this section Types

Link to this type

t() View Source
t() :: %GoogleApi.Content.V2.Model.OrdersRefundRequest{
  amount: GoogleApi.Content.V2.Model.Price.t(),
  amountPretax: GoogleApi.Content.V2.Model.Price.t(),
  amountTax: GoogleApi.Content.V2.Model.Price.t(),
  operationId: any(),
  reason: any(),
  reasonText: any()
}

Link to this section Functions

Link to this function

decode(value, options) View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.