MollieEx.Route (mollie_ex v0.4.0)

Copy Markdown View Source

Payment route 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

destination()

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

links()

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

t()

(since 0.1.0)
@type t() :: %MollieEx.Route{
  amount: MollieEx.Types.Money.t() | nil,
  created_at: String.t() | nil,
  description: String.t() | nil,
  destination: destination(),
  id: String.t(),
  links: links(),
  payment_id: String.t() | nil,
  raw: map(),
  release_date: String.t() | nil,
  resource: String.t() | nil
}