Typed struct for a GBP account transaction.
Summary
Types
@type direction() :: :inbound | :outbound
@type status() :: :settled | :pending | :rejected | :returned
@type t() :: %ClearBank.Schemas.Transaction{ account_id: String.t(), amount: String.t(), counterpart_account_number: String.t() | nil, counterpart_name: String.t() | nil, counterpart_sort_code: String.t() | nil, created_at: String.t() | nil, currency: String.t(), direction: direction(), end_to_end_id: String.t() | nil, id: String.t(), reference: String.t() | nil, status: status(), type: String.t(), virtual_account_id: String.t() | nil }