MollieEx.Method (mollie_ex v0.4.0)

Copy Markdown View Source

Payment method 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.Method{
  description: String.t() | nil,
  id: String.t(),
  image: map() | nil,
  issuers: [map()] | nil,
  links: links(),
  maximum_amount: MollieEx.Types.Money.t() | nil,
  minimum_amount: MollieEx.Types.Money.t() | nil,
  pricing: [map()] | nil,
  raw: map(),
  resource: String.t() | nil,
  status: String.t() | nil
}