Class: Inttegro::Shared::CountrySpecification
- Inherits:
-
T::Struct
- Object
- T::Struct
- Inttegro::Shared::CountrySpecification
- Defined in:
- lib/inttegro/shared/country_specification.rb
Overview
Complete specification for a country including supported features and requirements
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
-
#banks ⇒ Inttegro::Shared::CountryBankDirectory?
readonly
Bank reference data available for country-specific bank accounts.
-
#bt_aging_specs ⇒ Array<String>
readonly
Balance transaction aging specifications available.
-
#country_code ⇒ String
readonly
ISO 3166-1 alpha-2 country code.
-
#country_name ⇒ String
readonly
Full country name.
-
#currencies ⇒ Array<String>
readonly
Supported currencies in this country.
-
#financial_account_types ⇒ Array<String>
readonly
Financial account types available in this country.
-
#id_document_types ⇒ Array<String>
readonly
Identification document types accepted in this country.
-
#legal_entity_types ⇒ Array<String>
readonly
Legal entity types that can operate in this country.
-
#payment_methods ⇒ Array<String>
readonly
Supported payment methods in this country.
-
#payout_schedules ⇒ Array<String>
readonly
Available payout schedules for this country.
Instance Attribute Details
#banks ⇒ Inttegro::Shared::CountryBankDirectory? (readonly)
Bank reference data available for country-specific bank accounts
Optional in the API payload; omitted values default to nil. Wire name: banks.
78 79 80 81 82 83 84 85 86 87 88 89 |
# File 'lib/inttegro/shared/country_specification.rb', line 78 class CountrySpecification < T::Struct const :country_code, String const :country_name, String const :currencies, T::Array[String] const :payment_methods, T::Array[String] const :payout_schedules, T::Array[String] const :bt_aging_specs, T::Array[String] const :legal_entity_types, T::Array[String] const :financial_account_types, T::Array[String] const :id_document_types, T::Array[String] const :banks, T.nilable(Inttegro::Shared::CountryBankDirectory), default: nil end |
#bt_aging_specs ⇒ Array<String> (readonly)
Balance transaction aging specifications available
Required in the API payload. Wire name: bt_aging_specs.
78 79 80 81 82 83 84 85 86 87 88 89 |
# File 'lib/inttegro/shared/country_specification.rb', line 78 class CountrySpecification < T::Struct const :country_code, String const :country_name, String const :currencies, T::Array[String] const :payment_methods, T::Array[String] const :payout_schedules, T::Array[String] const :bt_aging_specs, T::Array[String] const :legal_entity_types, T::Array[String] const :financial_account_types, T::Array[String] const :id_document_types, T::Array[String] const :banks, T.nilable(Inttegro::Shared::CountryBankDirectory), default: nil end |
#country_code ⇒ String (readonly)
ISO 3166-1 alpha-2 country code
Required in the API payload. Wire name: country_code.
78 79 80 81 82 83 84 85 86 87 88 89 |
# File 'lib/inttegro/shared/country_specification.rb', line 78 class CountrySpecification < T::Struct const :country_code, String const :country_name, String const :currencies, T::Array[String] const :payment_methods, T::Array[String] const :payout_schedules, T::Array[String] const :bt_aging_specs, T::Array[String] const :legal_entity_types, T::Array[String] const :financial_account_types, T::Array[String] const :id_document_types, T::Array[String] const :banks, T.nilable(Inttegro::Shared::CountryBankDirectory), default: nil end |
#country_name ⇒ String (readonly)
Full country name
Required in the API payload. Wire name: country_name.
78 79 80 81 82 83 84 85 86 87 88 89 |
# File 'lib/inttegro/shared/country_specification.rb', line 78 class CountrySpecification < T::Struct const :country_code, String const :country_name, String const :currencies, T::Array[String] const :payment_methods, T::Array[String] const :payout_schedules, T::Array[String] const :bt_aging_specs, T::Array[String] const :legal_entity_types, T::Array[String] const :financial_account_types, T::Array[String] const :id_document_types, T::Array[String] const :banks, T.nilable(Inttegro::Shared::CountryBankDirectory), default: nil end |
#currencies ⇒ Array<String> (readonly)
Supported currencies in this country
Required in the API payload. Wire name: currencies.
78 79 80 81 82 83 84 85 86 87 88 89 |
# File 'lib/inttegro/shared/country_specification.rb', line 78 class CountrySpecification < T::Struct const :country_code, String const :country_name, String const :currencies, T::Array[String] const :payment_methods, T::Array[String] const :payout_schedules, T::Array[String] const :bt_aging_specs, T::Array[String] const :legal_entity_types, T::Array[String] const :financial_account_types, T::Array[String] const :id_document_types, T::Array[String] const :banks, T.nilable(Inttegro::Shared::CountryBankDirectory), default: nil end |
#financial_account_types ⇒ Array<String> (readonly)
Financial account types available in this country
Required in the API payload. Wire name: financial_account_types.
78 79 80 81 82 83 84 85 86 87 88 89 |
# File 'lib/inttegro/shared/country_specification.rb', line 78 class CountrySpecification < T::Struct const :country_code, String const :country_name, String const :currencies, T::Array[String] const :payment_methods, T::Array[String] const :payout_schedules, T::Array[String] const :bt_aging_specs, T::Array[String] const :legal_entity_types, T::Array[String] const :financial_account_types, T::Array[String] const :id_document_types, T::Array[String] const :banks, T.nilable(Inttegro::Shared::CountryBankDirectory), default: nil end |
#id_document_types ⇒ Array<String> (readonly)
Identification document types accepted in this country
Required in the API payload. Wire name: id_document_types.
78 79 80 81 82 83 84 85 86 87 88 89 |
# File 'lib/inttegro/shared/country_specification.rb', line 78 class CountrySpecification < T::Struct const :country_code, String const :country_name, String const :currencies, T::Array[String] const :payment_methods, T::Array[String] const :payout_schedules, T::Array[String] const :bt_aging_specs, T::Array[String] const :legal_entity_types, T::Array[String] const :financial_account_types, T::Array[String] const :id_document_types, T::Array[String] const :banks, T.nilable(Inttegro::Shared::CountryBankDirectory), default: nil end |
#legal_entity_types ⇒ Array<String> (readonly)
Legal entity types that can operate in this country
Required in the API payload. Wire name: legal_entity_types.
78 79 80 81 82 83 84 85 86 87 88 89 |
# File 'lib/inttegro/shared/country_specification.rb', line 78 class CountrySpecification < T::Struct const :country_code, String const :country_name, String const :currencies, T::Array[String] const :payment_methods, T::Array[String] const :payout_schedules, T::Array[String] const :bt_aging_specs, T::Array[String] const :legal_entity_types, T::Array[String] const :financial_account_types, T::Array[String] const :id_document_types, T::Array[String] const :banks, T.nilable(Inttegro::Shared::CountryBankDirectory), default: nil end |
#payment_methods ⇒ Array<String> (readonly)
Supported payment methods in this country
Required in the API payload. Wire name: payment_methods.
78 79 80 81 82 83 84 85 86 87 88 89 |
# File 'lib/inttegro/shared/country_specification.rb', line 78 class CountrySpecification < T::Struct const :country_code, String const :country_name, String const :currencies, T::Array[String] const :payment_methods, T::Array[String] const :payout_schedules, T::Array[String] const :bt_aging_specs, T::Array[String] const :legal_entity_types, T::Array[String] const :financial_account_types, T::Array[String] const :id_document_types, T::Array[String] const :banks, T.nilable(Inttegro::Shared::CountryBankDirectory), default: nil end |
#payout_schedules ⇒ Array<String> (readonly)
Available payout schedules for this country
Required in the API payload. Wire name: payout_schedules.
78 79 80 81 82 83 84 85 86 87 88 89 |
# File 'lib/inttegro/shared/country_specification.rb', line 78 class CountrySpecification < T::Struct const :country_code, String const :country_name, String const :currencies, T::Array[String] const :payment_methods, T::Array[String] const :payout_schedules, T::Array[String] const :bt_aging_specs, T::Array[String] const :legal_entity_types, T::Array[String] const :financial_account_types, T::Array[String] const :id_document_types, T::Array[String] const :banks, T.nilable(Inttegro::Shared::CountryBankDirectory), default: nil end |