Class: Inttegro::Shared::FinancialInstitution
- Inherits:
-
T::Struct
- Object
- T::Struct
- Inttegro::Shared::FinancialInstitution
- Defined in:
- lib/inttegro/shared/financial_institution.rb
Overview
Typed representation of the financial institution 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 ⇒ Inttegro::Shared::FinancialInstitutionBank?
readonly
Value of the
bankfield in the Inttegro API payload. -
#country ⇒ String
readonly
Value of the
countryfield in the Inttegro API payload. -
#id ⇒ String
readonly
Value of the
idfield in the Inttegro API payload. -
#mobile_money_provider ⇒ Inttegro::Shared::FinancialInstitutionMobileMoneyProvider?
readonly
Value of the
mobile_money_providerfield in the Inttegro API payload. -
#name ⇒ String
readonly
Value of the
namefield in the Inttegro API payload. -
#type ⇒ String
readonly
Value of the
typefield in the Inttegro API payload.
Instance Attribute Details
#bank ⇒ Inttegro::Shared::FinancialInstitutionBank? (readonly)
Value of the bank field in the Inttegro API payload.
Optional in the API payload; omitted values default to nil. Wire name: bank.
55 56 57 58 59 60 61 62 |
# File 'lib/inttegro/shared/financial_institution.rb', line 55 class FinancialInstitution < T::Struct const :bank, T.nilable(Inttegro::Shared::FinancialInstitutionBank), default: nil const :country, String const :id, String const :mobile_money_provider, T.nilable(Inttegro::Shared::FinancialInstitutionMobileMoneyProvider), default: nil const :name, String const :type, String end |
#country ⇒ String (readonly)
Value of the country field in the Inttegro API payload.
Required in the API payload. Wire name: country.
55 56 57 58 59 60 61 62 |
# File 'lib/inttegro/shared/financial_institution.rb', line 55 class FinancialInstitution < T::Struct const :bank, T.nilable(Inttegro::Shared::FinancialInstitutionBank), default: nil const :country, String const :id, String const :mobile_money_provider, T.nilable(Inttegro::Shared::FinancialInstitutionMobileMoneyProvider), default: nil const :name, String const :type, String end |
#id ⇒ String (readonly)
Value of the id field in the Inttegro API payload.
Required in the API payload. Wire name: id.
55 56 57 58 59 60 61 62 |
# File 'lib/inttegro/shared/financial_institution.rb', line 55 class FinancialInstitution < T::Struct const :bank, T.nilable(Inttegro::Shared::FinancialInstitutionBank), default: nil const :country, String const :id, String const :mobile_money_provider, T.nilable(Inttegro::Shared::FinancialInstitutionMobileMoneyProvider), default: nil const :name, String const :type, String end |
#mobile_money_provider ⇒ Inttegro::Shared::FinancialInstitutionMobileMoneyProvider? (readonly)
Value of the mobile_money_provider field in the Inttegro API payload.
Optional in the API payload; omitted values default to nil. Wire name: mobile_money_provider.
55 56 57 58 59 60 61 62 |
# File 'lib/inttegro/shared/financial_institution.rb', line 55 class FinancialInstitution < T::Struct const :bank, T.nilable(Inttegro::Shared::FinancialInstitutionBank), default: nil const :country, String const :id, String const :mobile_money_provider, T.nilable(Inttegro::Shared::FinancialInstitutionMobileMoneyProvider), default: nil const :name, String const :type, String end |
#name ⇒ String (readonly)
Value of the name field in the Inttegro API payload.
Required in the API payload. Wire name: name.
55 56 57 58 59 60 61 62 |
# File 'lib/inttegro/shared/financial_institution.rb', line 55 class FinancialInstitution < T::Struct const :bank, T.nilable(Inttegro::Shared::FinancialInstitutionBank), default: nil const :country, String const :id, String const :mobile_money_provider, T.nilable(Inttegro::Shared::FinancialInstitutionMobileMoneyProvider), default: nil const :name, String const :type, String end |
#type ⇒ String (readonly)
Value of the type field in the Inttegro API payload.
Required in the API payload. Wire name: type.
55 56 57 58 59 60 61 62 |
# File 'lib/inttegro/shared/financial_institution.rb', line 55 class FinancialInstitution < T::Struct const :bank, T.nilable(Inttegro::Shared::FinancialInstitutionBank), default: nil const :country, String const :id, String const :mobile_money_provider, T.nilable(Inttegro::Shared::FinancialInstitutionMobileMoneyProvider), default: nil const :name, String const :type, String end |