Typed struct for an Embedded Banking account.
Summary
Types
@type account_type() :: :payment | :savings | :cash_isa | :hub
@type status() :: :active | :suspended | :closed
@type t() :: %ClearBank.Schemas.EmbeddedAccount{ account_number: String.t() | nil, balance: String.t() | nil, created_at: String.t() | nil, currency: String.t(), customer_id: String.t() | nil, iban: String.t() | nil, id: String.t(), name: String.t(), sort_code: String.t() | nil, status: status(), type: account_type() }