View Source GoogleApi.Content.V2.Model.OrdersRefundRequest (google_api_content v0.67.1)
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. -
operationId
(type:String.t
, default:nil
) - The ID of the operation. Unique across all operations for a given order. -
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.
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
@type t() :: %GoogleApi.Content.V2.Model.OrdersRefundRequest{ amount: GoogleApi.Content.V2.Model.Price.t() | nil, amountPretax: GoogleApi.Content.V2.Model.Price.t() | nil, amountTax: GoogleApi.Content.V2.Model.Price.t() | nil, operationId: String.t() | nil, reason: String.t() | nil, reasonText: String.t() | nil }
Functions
Unwrap a decoded JSON object into its complex fields.