MollieEx.Chargeback (mollie_ex v0.4.0)

Copy Markdown View Source

Chargeback 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

Types

links()

(since 0.1.0)
@type links() :: %{optional(String.t()) => MollieEx.Types.Link.t() | term()}

reason()

(since 0.1.0)
@type reason() :: %{optional(String.t()) => term()} | nil

t()

(since 0.1.0)
@type t() :: %MollieEx.Chargeback{
  amount: MollieEx.Types.Money.t() | nil,
  created_at: String.t() | nil,
  id: String.t(),
  links: links(),
  payment_id: String.t() | nil,
  raw: map(),
  reason: reason(),
  resource: String.t() | nil,
  reversed_at: String.t() | nil,
  settlement_amount: MollieEx.Types.Money.t() | nil,
  settlement_id: String.t() | nil
}