Class: Inttegro::Shared::FinancialInstitutionBankBranch

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

Overview

Typed representation of the financial institution bank branch 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

Instance Attribute Details

#id ⇒ String (readonly)

Value of the id field in the Inttegro API payload.

Required in the API payload. Wire name: id.

Returns:

  • (String)


35
36
37
38
39
# File 'lib/inttegro/shared/financial_institution_bank_branch.rb', line 35

class FinancialInstitutionBankBranch < T::Struct
  const :id, String
  const :name, String
  const :sort_code, String
end

#name ⇒ String (readonly)

Value of the name field in the Inttegro API payload.

Required in the API payload. Wire name: name.

Returns:

  • (String)


35
36
37
38
39
# File 'lib/inttegro/shared/financial_institution_bank_branch.rb', line 35

class FinancialInstitutionBankBranch < T::Struct
  const :id, String
  const :name, String
  const :sort_code, String
end

#sort_code ⇒ String (readonly)

Value of the sort_code field in the Inttegro API payload.

Required in the API payload. Wire name: sort_code.

Returns:

  • (String)


35
36
37
38
39
# File 'lib/inttegro/shared/financial_institution_bank_branch.rb', line 35

class FinancialInstitutionBankBranch < T::Struct
  const :id, String
  const :name, String
  const :sort_code, String
end