Class: Inttegro::Shared::CountryBankDirectory

Inherits:
T::Struct
  • Object
show all
Defined in:
lib/inttegro/shared/country_bank_directory.rb

Overview

Bank reference data available for country-specific bank accounts

This generated model is immutable. Construct it with .new, or decode a string-keyed API payload with .from_hash. #serialize produces a string-keyed hash using the original wire field names and serialized enum values.

Instance Attribute Summary collapse

Instance Attribute Details

#bank_account_type ⇒ String (readonly)

Country-specific bank account subtype used by financial account APIs

Required in the API payload. Wire name: bank_account_type.

Returns:

  • (String)


36
37
38
39
40
# File 'lib/inttegro/shared/country_bank_directory.rb', line 36

class CountryBankDirectory < T::Struct
  const :bank_account_type, String
  const :code_scheme, String
  const :items, T::Array[Inttegro::Shared::CountryBank]
end

#code_scheme ⇒ String (readonly)

Identifier scheme used for bank branch codes

Required in the API payload. Wire name: code_scheme.

Returns:

  • (String)


36
37
38
39
40
# File 'lib/inttegro/shared/country_bank_directory.rb', line 36

class CountryBankDirectory < T::Struct
  const :bank_account_type, String
  const :code_scheme, String
  const :items, T::Array[Inttegro::Shared::CountryBank]
end

#items ⇒ Array<Inttegro::Shared::CountryBank> (readonly)

Banking institutions available in this country

Required in the API payload. Wire name: items.

Returns:



36
37
38
39
40
# File 'lib/inttegro/shared/country_bank_directory.rb', line 36

class CountryBankDirectory < T::Struct
  const :bank_account_type, String
  const :code_scheme, String
  const :items, T::Array[Inttegro::Shared::CountryBank]
end