Inttegro.Specifications.CountryBankDirectory (inttegro v0.2.0)

Copy Markdown View Source

Represents Country Bank Directory data in the Specifications API.

Inttegro decodes API responses into this struct. Required fields are always present; optional fields are nil when they do not apply or were not returned. Follow the linked types in t/0 for nested domain values.

Retrieves country-specific capabilities and financial institution directories.

Use specifications to populate supported-country, bank, branch, and provider choices. Treat the response as authoritative and refreshable rather than hard-coding a directory into an integration.

Summary

Types

t()

The decoded country bank directory value.

Functions

Builds a Inttegro.Specifications.CountryBankDirectory and raises KeyError when a required field is missing.

Types

t()

@type t() :: %Inttegro.Specifications.CountryBankDirectory{
  bank_account_type: String.t(),
  code_scheme: String.t(),
  items: [Inttegro.Specifications.CountryBank.t()]
}

The decoded country bank directory value.

Functions

new!(attrs \\ %{})

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

Builds a Inttegro.Specifications.CountryBankDirectory and raises KeyError when a required field is missing.