Inttegro.PaymentMethodSnapshot (inttegro v0.1.0)

Copy Markdown View Source

Typed Inttegro domain value.

Summary

Types

t()

@type t() :: %Inttegro.PaymentMethodSnapshot{
  bank_account: Inttegro.PaymentMethodSnapshotBankAccount.t() | nil,
  card: %{optional(String.t()) => term()} | nil,
  created_at: String.t(),
  customer_id: String.t(),
  id: String.t(),
  mobile_money: Inttegro.PaymentMethodSnapshotMobileMoney.t() | nil,
  owner: Inttegro.PaymentMethodSnapshotOwner.t() | nil,
  type: Inttegro.PaymentMethodType.t(),
  verified: boolean(),
  verified_at: String.t() | nil
}

Functions

from_map(map)

@spec from_map(map()) :: t()

new!(attrs \\ %{})

@spec new!(map() | keyword()) :: t()

to_map(value)

@spec to_map(t()) :: map()