google_api_content v0.9.0 GoogleApi.Content.V2.Model.OrdersReturnRefundLineItemRequest View Source
Attributes
- amountPretax (Price): The amount that is refunded. If omitted, refundless return is assumed (same as calling returnLineItem method). Defaults to:
null
. - amountTax (Price): Tax amount that corresponds to refund amount in amountPretax. Optional, but if filled, then amountPretax must be set. Calculated automatically if not provided. Defaults to:
null
. - lineItemId (String.t): The ID of the line item to return. Either lineItemId or productId is required. Defaults to:
null
. - operationId (String.t): The ID of the operation. Unique across all operations for a given order. Defaults to:
null
. - productId (String.t): The ID of the product to return. This is the REST ID used in the products service. Either lineItemId or productId is required. Defaults to:
null
. - quantity (integer()): The quantity to return and refund. Defaults to:
null
. - reason (String.t): The reason for the return. 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()
View Source
t() :: %GoogleApi.Content.V2.Model.OrdersReturnRefundLineItemRequest{
amountPretax: GoogleApi.Content.V2.Model.Price.t(),
amountTax: GoogleApi.Content.V2.Model.Price.t(),
lineItemId: any(),
operationId: any(),
productId: any(),
quantity: any(),
reason: any(),
reasonText: any()
}
t() :: %GoogleApi.Content.V2.Model.OrdersReturnRefundLineItemRequest{ amountPretax: GoogleApi.Content.V2.Model.Price.t(), amountTax: GoogleApi.Content.V2.Model.Price.t(), lineItemId: any(), operationId: any(), productId: any(), quantity: any(), reason: any(), reasonText: any() }
Link to this section Functions
Link to this function
decode(value, options) View Source
Unwrap a decoded JSON object into its complex fields.