Class: Inttegro::Shared::CountryBankBranch
- Inherits:
-
T::Struct
- Object
- T::Struct
- Inttegro::Shared::CountryBankBranch
- Defined in:
- lib/inttegro/shared/country_bank_branch.rb
Overview
A bank branch in a country bank directory
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
-
#id ⇒ String
readonly
Stable branch identifier.
-
#name ⇒ String
readonly
Branch display name.
-
#sort_code ⇒ String
readonly
Ghana bank branch sort code.
Instance Attribute Details
#id ⇒ String (readonly)
Stable branch identifier
Required in the API payload. Wire name: id.
35 36 37 38 39 |
# File 'lib/inttegro/shared/country_bank_branch.rb', line 35 class CountryBankBranch < T::Struct const :id, String const :name, String const :sort_code, String end |
#name ⇒ String (readonly)
Branch display name
Required in the API payload. Wire name: name.
35 36 37 38 39 |
# File 'lib/inttegro/shared/country_bank_branch.rb', line 35 class CountryBankBranch < T::Struct const :id, String const :name, String const :sort_code, String end |
#sort_code ⇒ String (readonly)
Ghana bank branch sort code
Required in the API payload. Wire name: sort_code.
35 36 37 38 39 |
# File 'lib/inttegro/shared/country_bank_branch.rb', line 35 class CountryBankBranch < T::Struct const :id, String const :name, String const :sort_code, String end |