GoogleApi.Content.V2.Model.OrdersCustomBatchRequestEntryRefund (google_api_content v0.58.0) View Source

Attributes

  • amount (type: GoogleApi.Content.V2.Model.Price.t, default: nil) - Deprecated. Please use amountPretax and amountTax instead.
  • amountPretax (type: GoogleApi.Content.V2.Model.Price.t, default: nil) - The amount that is refunded. Either amount or amountPretax should be filled.
  • amountTax (type: GoogleApi.Content.V2.Model.Price.t, default: nil) - Tax amount that corresponds to refund amount in amountPretax. Optional, but if filled, amountPretax must be set. Calculated automatically if not provided.
  • reason (type: String.t, default: nil) - The reason for the refund. Acceptable values are: - "adjustment" - "courtesyAdjustment" - "customerCanceled" - "customerDiscretionaryReturn" - "deliveredLateByCarrier" - "feeAdjustment" - "lateShipmentCredit" - "noInventory" - "other" - "priceError" - "productArrivedDamaged" - "productNotAsDescribed" - "shippingCostAdjustment" - "taxAdjustment" - "undeliverableShippingAddress" - "wrongProductShipped"
  • reasonText (type: String.t, default: nil) - The explanation of the 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.V2.Model.OrdersCustomBatchRequestEntryRefund{
  amount: GoogleApi.Content.V2.Model.Price.t() | nil,
  amountPretax: GoogleApi.Content.V2.Model.Price.t() | nil,
  amountTax: GoogleApi.Content.V2.Model.Price.t() | nil,
  reason: String.t() | nil,
  reasonText: String.t() | nil
}

Link to this section Functions

Specs

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

Unwrap a decoded JSON object into its complex fields.