Refund resource returned by the Mollie API.
Stable fields are exposed as snake_case struct fields. The original decoded
Mollie response is preserved in raw with upstream JSON casing unchanged.
Summary
Functions
Returns true when Mollie still allows the refund to be canceled.
Returns true when the refund status is canceled.
Returns true when the refund status is failed.
Returns true when the refund status is pending.
Returns true when the refund status is processing.
Returns true when the refund status is queued.
Returns true when the refund status is refunded.
Types
@type links() :: %{optional(String.t()) => MollieEx.Types.Link.t() | term()}
@type t() :: %MollieEx.Refund{ amount: MollieEx.Types.Money.t() | nil, created_at: String.t() | nil, description: String.t() | nil, external_reference: term(), id: String.t(), links: links(), metadata: term(), mode: String.t() | nil, order_id: String.t() | nil, payment_id: String.t() | nil, raw: map(), resource: String.t() | nil, routing_reversals: term(), settlement_amount: MollieEx.Types.Money.t() | nil, settlement_id: String.t() | nil, status: String.t() | nil }
Functions
Returns true when Mollie still allows the refund to be canceled.
Returns true when the refund status is canceled.
Returns true when the refund status is failed.
Returns true when the refund status is pending.
Returns true when the refund status is processing.
Returns true when the refund status is queued.
Returns true when the refund status is refunded.