View Source GoogleApi.Content.V21.Model.OrdersReturnRefundLineItemRequest (google_api_content v0.67.1)
Attributes
-
lineItemId
(type:String.t
, default:nil
) - The ID of the line item to return. Either lineItemId or productId is required. -
operationId
(type:String.t
, default:nil
) - The ID of the operation. Unique across all operations for a given order. -
priceAmount
(type:GoogleApi.Content.V21.Model.Price.t
, default:nil
) - The amount to be refunded. This may be pre-tax or post-tax depending on the location of the order. If omitted, refundless return is assumed. -
productId
(type:String.t
, default:nil
) - The ID of the product to return. This is the REST ID used in the products service. Either lineItemId or productId is required. -
quantity
(type:integer()
, default:nil
) - The quantity to return and refund. Quantity is required. -
reason
(type:String.t
, default:nil
) - The reason for the return. Acceptable values are: - "customerDiscretionaryReturn
" - "customerInitiatedMerchantCancel
" - "deliveredTooLate
" - "expiredItem
" - "invalidCoupon
" - "malformedShippingAddress
" - "other
" - "productArrivedDamaged
" - "productNotAsDescribed
" - "qualityNotAsExpected
" - "undeliverableShippingAddress
" - "unsupportedPoBoxAddress
" - "wrongProductShipped
" -
reasonText
(type:String.t
, default:nil
) - The explanation of the reason. -
taxAmount
(type:GoogleApi.Content.V21.Model.Price.t
, default:nil
) - The amount of tax to be refunded. Optional, but if filled, then priceAmount must be set. Calculated automatically if not provided.
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
@type t() :: %GoogleApi.Content.V21.Model.OrdersReturnRefundLineItemRequest{ lineItemId: String.t() | nil, operationId: String.t() | nil, priceAmount: GoogleApi.Content.V21.Model.Price.t() | nil, productId: String.t() | nil, quantity: integer() | nil, reason: String.t() | nil, reasonText: String.t() | nil, taxAmount: GoogleApi.Content.V21.Model.Price.t() | nil }
Functions
Unwrap a decoded JSON object into its complex fields.