google_api_content v0.30.0 GoogleApi.Content.V2.Model.OrdersReturnRefundLineItemRequest View Source
Attributes
amountPretax(type:GoogleApi.Content.V2.Model.Price.t, default:nil) - The amount that is refunded. If omitted, refundless return is assumed (same as calling returnLineItem method).amountTax(type:GoogleApi.Content.V2.Model.Price.t, default:nil) - Tax amount that corresponds to refund amount in amountPretax. Optional, but if filled, then amountPretax must be set. Calculated automatically if not provided.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.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.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.
Link to this section Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Link to this section Types
t()
View Sourcet() :: %GoogleApi.Content.V2.Model.OrdersReturnRefundLineItemRequest{
amountPretax: GoogleApi.Content.V2.Model.Price.t(),
amountTax: GoogleApi.Content.V2.Model.Price.t(),
lineItemId: String.t(),
operationId: String.t(),
productId: String.t(),
quantity: integer(),
reason: String.t(),
reasonText: String.t()
}
Link to this section Functions
Unwrap a decoded JSON object into its complex fields.