View Source GoogleApi.Content.V21.Model.OrdersCustomBatchRequestEntryRefundItemItem (google_api_content v0.67.1)
Attributes
-
amount
(type:GoogleApi.Content.V21.Model.MonetaryAmount.t
, default:nil
) - The total amount that is refunded. (for example, refunding $5 each for 2 products should be done by setting quantity to 2 and amount to 10$) In case of multiple refunds, this should be the amount you currently want to refund to the customer. -
fullRefund
(type:boolean()
, default:nil
) - If true, the full item will be refunded. If this is true, amount shouldn't be provided and will be ignored. -
lineItemId
(type:String.t
, default:nil
) - The ID of the line item. Either lineItemId or productId is required. -
productId
(type:String.t
, default:nil
) - The ID of the product. This is the REST ID used in the products service. Either lineItemId or productId is required. -
quantity
(type:integer()
, default:nil
) - The number of products that are refunded.
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
@type t() :: %GoogleApi.Content.V21.Model.OrdersCustomBatchRequestEntryRefundItemItem{ amount: GoogleApi.Content.V21.Model.MonetaryAmount.t() | nil, fullRefund: boolean() | nil, lineItemId: String.t() | nil, productId: String.t() | nil, quantity: integer() | nil }
Functions
Unwrap a decoded JSON object into its complex fields.