MollieEx.Mandate (mollie_ex v0.4.0)

Copy Markdown View Source

Mandate 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.4.0)
@type links() :: %{optional(String.t()) => MollieEx.Types.Link.t() | term()}

t()

(since 0.4.0)
@type t() :: %MollieEx.Mandate{
  created_at: String.t() | nil,
  customer_id: String.t() | nil,
  details: map() | nil,
  id: String.t(),
  links: links(),
  mandate_reference: String.t() | nil,
  method: String.t() | nil,
  mode: String.t() | nil,
  raw: map(),
  resource: String.t() | nil,
  scopes: [String.t()] | nil,
  signature_date: String.t() | nil,
  status: String.t() | nil
}