Class: Inttegro::Shared::FinancialInstitutionBank
- Inherits:
-
T::Struct
- Object
- T::Struct
- Inttegro::Shared::FinancialInstitutionBank
- Defined in:
- lib/inttegro/shared/financial_institution_bank.rb
Overview
Typed representation of the financial institution bank object in the Inttegro API.
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
-
#bank_account_type ⇒ String
readonly
Value of the
bank_account_typefield in the Inttegro API payload. -
#branch ⇒ Inttegro::Shared::FinancialInstitutionBankBranch?
readonly
Value of the
branchfield in the Inttegro API payload. -
#code_scheme ⇒ String
readonly
Value of the
code_schemefield in the Inttegro API payload. -
#sort_code_prefix ⇒ String?
readonly
Value of the
sort_code_prefixfield in the Inttegro API payload. -
#swift_code ⇒ String?
readonly
Value of the
swift_codefield in the Inttegro API payload.
Instance Attribute Details
#bank_account_type ⇒ String (readonly)
Value of the bank_account_type field in the Inttegro API payload.
Required in the API payload. Wire name: bank_account_type.
48 49 50 51 52 53 54 |
# File 'lib/inttegro/shared/financial_institution_bank.rb', line 48 class FinancialInstitutionBank < T::Struct const :bank_account_type, String const :branch, T.nilable(Inttegro::Shared::FinancialInstitutionBankBranch), default: nil const :code_scheme, String const :sort_code_prefix, T.nilable(String), default: nil const :swift_code, T.nilable(String), default: nil end |
#branch ⇒ Inttegro::Shared::FinancialInstitutionBankBranch? (readonly)
Value of the branch field in the Inttegro API payload.
Optional in the API payload; omitted values default to nil. Wire name: branch.
48 49 50 51 52 53 54 |
# File 'lib/inttegro/shared/financial_institution_bank.rb', line 48 class FinancialInstitutionBank < T::Struct const :bank_account_type, String const :branch, T.nilable(Inttegro::Shared::FinancialInstitutionBankBranch), default: nil const :code_scheme, String const :sort_code_prefix, T.nilable(String), default: nil const :swift_code, T.nilable(String), default: nil end |
#code_scheme ⇒ String (readonly)
Value of the code_scheme field in the Inttegro API payload.
Required in the API payload. Wire name: code_scheme.
48 49 50 51 52 53 54 |
# File 'lib/inttegro/shared/financial_institution_bank.rb', line 48 class FinancialInstitutionBank < T::Struct const :bank_account_type, String const :branch, T.nilable(Inttegro::Shared::FinancialInstitutionBankBranch), default: nil const :code_scheme, String const :sort_code_prefix, T.nilable(String), default: nil const :swift_code, T.nilable(String), default: nil end |
#sort_code_prefix ⇒ String? (readonly)
Value of the sort_code_prefix field in the Inttegro API payload.
Optional in the API payload; omitted values default to nil. Wire name: sort_code_prefix.
48 49 50 51 52 53 54 |
# File 'lib/inttegro/shared/financial_institution_bank.rb', line 48 class FinancialInstitutionBank < T::Struct const :bank_account_type, String const :branch, T.nilable(Inttegro::Shared::FinancialInstitutionBankBranch), default: nil const :code_scheme, String const :sort_code_prefix, T.nilable(String), default: nil const :swift_code, T.nilable(String), default: nil end |
#swift_code ⇒ String? (readonly)
Value of the swift_code field in the Inttegro API payload.
Optional in the API payload; omitted values default to nil. Wire name: swift_code.
48 49 50 51 52 53 54 |
# File 'lib/inttegro/shared/financial_institution_bank.rb', line 48 class FinancialInstitutionBank < T::Struct const :bank_account_type, String const :branch, T.nilable(Inttegro::Shared::FinancialInstitutionBankBranch), default: nil const :code_scheme, String const :sort_code_prefix, T.nilable(String), default: nil const :swift_code, T.nilable(String), default: nil end |