Parameters for Create Line Item Input in the Refunds API.
Build this struct with new!/1 and pass it to the corresponding function on
Inttegro.Refunds. Required keys are enforced immediately; optional values left as
nil are omitted from the request sent to Inttegro.
Returns funds from a paid order to its original payment method.
Refunds are asynchronous financial records. Creating a refund validates the requested line items and amount, while the returned status describes processing progress. Look up the refund until it reaches a terminal state and reconcile it through balance transactions.
Summary
Functions
Builds a Inttegro.Refunds.CreateLineItemInput and raises KeyError when a required field is missing.
Types
@type t() :: %Inttegro.Refunds.CreateLineItemInput{ order_line_item_id: String.t(), reason: Inttegro.Refunds.Reason.t() | nil, reason_details: String.t() | nil, refund_amount: Inttegro.Money.AmountParams.t() }
A validated create line item input request.
Functions
Builds a Inttegro.Refunds.CreateLineItemInput and raises KeyError when a required field is missing.