Class: Inttegro::Shared::FinancialInstitution

Inherits:
T::Struct
  • Object
show all
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

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.

Returns:

  • (String)


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.

Returns:

  • (String)


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.

Returns:

  • (String)


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.

Returns:

  • (String)


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