MollieEx.Customer (mollie_ex v0.2.0)

Copy Markdown View Source

Customer 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()}

t()

(since 0.1.0)
@type t() :: %MollieEx.Customer{
  created_at: String.t() | nil,
  email: String.t() | nil,
  id: String.t(),
  links: links(),
  locale: String.t() | nil,
  metadata: term(),
  mode: String.t() | nil,
  name: String.t() | nil,
  raw: map(),
  resource: String.t() | nil
}