Class: Inttegro::FinancialAccount::BankRequest
- Inherits:
-
T::Struct
- Object
- T::Struct
- Inttegro::FinancialAccount::BankRequest
- Defined in:
- lib/inttegro/financial_account/bank_request.rb
Overview
Owner name and country must be supplied through top-level owner, the bank-account holder, or both. Missing values are filled between the two representations.
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_account ⇒ Inttegro::FinancialAccount::BankRequestBankAccount
readonly
Value of the
bank_accountfield in the Inttegro API payload. -
#currency ⇒ String
readonly
Supported lowercase currency code.
-
#custom_data ⇒ Inttegro::CustomDataInput?
readonly
Merchant-defined values accepted on resource creation.
-
#description ⇒ String?
readonly
Value of the
descriptionfield in the Inttegro API payload. -
#label ⇒ String
readonly
Value of the
labelfield in the Inttegro API payload. -
#owner ⇒ Inttegro::FinancialAccount::OwnerInput?
readonly
Value of the
ownerfield in the Inttegro API payload. -
#pull_configuration ⇒ Inttegro::FinancialAccount::RequestBasePullConfiguration?
readonly
Value of the
pull_configurationfield in the Inttegro API payload. -
#push_configuration ⇒ Inttegro::FinancialAccount::RequestBasePushConfiguration?
readonly
Value of the
push_configurationfield in the Inttegro API payload. -
#reference ⇒ String
readonly
Value of the
referencefield in the Inttegro API payload. -
#type ⇒ Inttegro::FinancialAccount::BankRequestType
readonly
Value of the
typefield in the Inttegro API payload.
Instance Attribute Details
#bank_account ⇒ Inttegro::FinancialAccount::BankRequestBankAccount (readonly)
Value of the bank_account field in the Inttegro API payload.
Required in the API payload. Wire name: bank_account.
85 86 87 88 89 90 91 92 93 94 95 96 |
# File 'lib/inttegro/financial_account/bank_request.rb', line 85 class BankRequest < T::Struct const :currency, String const :custom_data, T.nilable(Inttegro::CustomDataInput), default: nil const :description, T.nilable(String), default: nil const :label, String const :owner, T.nilable(Inttegro::FinancialAccount::OwnerInput), default: nil const :pull_configuration, T.nilable(Inttegro::FinancialAccount::RequestBasePullConfiguration), default: nil const :push_configuration, T.nilable(Inttegro::FinancialAccount::RequestBasePushConfiguration), default: nil const :reference, String const :type, Inttegro::FinancialAccount::BankRequestType const :bank_account, Inttegro::FinancialAccount::BankRequestBankAccount end |
#currency ⇒ String (readonly)
Supported lowercase currency code
Required in the API payload. Wire name: currency.
85 86 87 88 89 90 91 92 93 94 95 96 |
# File 'lib/inttegro/financial_account/bank_request.rb', line 85 class BankRequest < T::Struct const :currency, String const :custom_data, T.nilable(Inttegro::CustomDataInput), default: nil const :description, T.nilable(String), default: nil const :label, String const :owner, T.nilable(Inttegro::FinancialAccount::OwnerInput), default: nil const :pull_configuration, T.nilable(Inttegro::FinancialAccount::RequestBasePullConfiguration), default: nil const :push_configuration, T.nilable(Inttegro::FinancialAccount::RequestBasePushConfiguration), default: nil const :reference, String const :type, Inttegro::FinancialAccount::BankRequestType const :bank_account, Inttegro::FinancialAccount::BankRequestBankAccount end |
#custom_data ⇒ Inttegro::CustomDataInput? (readonly)
Merchant-defined values accepted on resource creation. Values are serialized to strings before storage.
Optional in the API payload; omitted values default to nil. Wire name: custom_data.
85 86 87 88 89 90 91 92 93 94 95 96 |
# File 'lib/inttegro/financial_account/bank_request.rb', line 85 class BankRequest < T::Struct const :currency, String const :custom_data, T.nilable(Inttegro::CustomDataInput), default: nil const :description, T.nilable(String), default: nil const :label, String const :owner, T.nilable(Inttegro::FinancialAccount::OwnerInput), default: nil const :pull_configuration, T.nilable(Inttegro::FinancialAccount::RequestBasePullConfiguration), default: nil const :push_configuration, T.nilable(Inttegro::FinancialAccount::RequestBasePushConfiguration), default: nil const :reference, String const :type, Inttegro::FinancialAccount::BankRequestType const :bank_account, Inttegro::FinancialAccount::BankRequestBankAccount end |
#description ⇒ String? (readonly)
Value of the description field in the Inttegro API payload.
Optional in the API payload; omitted values default to nil. Wire name: description.
85 86 87 88 89 90 91 92 93 94 95 96 |
# File 'lib/inttegro/financial_account/bank_request.rb', line 85 class BankRequest < T::Struct const :currency, String const :custom_data, T.nilable(Inttegro::CustomDataInput), default: nil const :description, T.nilable(String), default: nil const :label, String const :owner, T.nilable(Inttegro::FinancialAccount::OwnerInput), default: nil const :pull_configuration, T.nilable(Inttegro::FinancialAccount::RequestBasePullConfiguration), default: nil const :push_configuration, T.nilable(Inttegro::FinancialAccount::RequestBasePushConfiguration), default: nil const :reference, String const :type, Inttegro::FinancialAccount::BankRequestType const :bank_account, Inttegro::FinancialAccount::BankRequestBankAccount end |
#label ⇒ String (readonly)
Value of the label field in the Inttegro API payload.
Required in the API payload. Wire name: label.
85 86 87 88 89 90 91 92 93 94 95 96 |
# File 'lib/inttegro/financial_account/bank_request.rb', line 85 class BankRequest < T::Struct const :currency, String const :custom_data, T.nilable(Inttegro::CustomDataInput), default: nil const :description, T.nilable(String), default: nil const :label, String const :owner, T.nilable(Inttegro::FinancialAccount::OwnerInput), default: nil const :pull_configuration, T.nilable(Inttegro::FinancialAccount::RequestBasePullConfiguration), default: nil const :push_configuration, T.nilable(Inttegro::FinancialAccount::RequestBasePushConfiguration), default: nil const :reference, String const :type, Inttegro::FinancialAccount::BankRequestType const :bank_account, Inttegro::FinancialAccount::BankRequestBankAccount end |
#owner ⇒ Inttegro::FinancialAccount::OwnerInput? (readonly)
Value of the owner field in the Inttegro API payload.
Optional in the API payload; omitted values default to nil. Wire name: owner.
85 86 87 88 89 90 91 92 93 94 95 96 |
# File 'lib/inttegro/financial_account/bank_request.rb', line 85 class BankRequest < T::Struct const :currency, String const :custom_data, T.nilable(Inttegro::CustomDataInput), default: nil const :description, T.nilable(String), default: nil const :label, String const :owner, T.nilable(Inttegro::FinancialAccount::OwnerInput), default: nil const :pull_configuration, T.nilable(Inttegro::FinancialAccount::RequestBasePullConfiguration), default: nil const :push_configuration, T.nilable(Inttegro::FinancialAccount::RequestBasePushConfiguration), default: nil const :reference, String const :type, Inttegro::FinancialAccount::BankRequestType const :bank_account, Inttegro::FinancialAccount::BankRequestBankAccount end |
#pull_configuration ⇒ Inttegro::FinancialAccount::RequestBasePullConfiguration? (readonly)
Value of the pull_configuration field in the Inttegro API payload.
Optional in the API payload; omitted values default to nil. Wire name: pull_configuration.
85 86 87 88 89 90 91 92 93 94 95 96 |
# File 'lib/inttegro/financial_account/bank_request.rb', line 85 class BankRequest < T::Struct const :currency, String const :custom_data, T.nilable(Inttegro::CustomDataInput), default: nil const :description, T.nilable(String), default: nil const :label, String const :owner, T.nilable(Inttegro::FinancialAccount::OwnerInput), default: nil const :pull_configuration, T.nilable(Inttegro::FinancialAccount::RequestBasePullConfiguration), default: nil const :push_configuration, T.nilable(Inttegro::FinancialAccount::RequestBasePushConfiguration), default: nil const :reference, String const :type, Inttegro::FinancialAccount::BankRequestType const :bank_account, Inttegro::FinancialAccount::BankRequestBankAccount end |
#push_configuration ⇒ Inttegro::FinancialAccount::RequestBasePushConfiguration? (readonly)
Value of the push_configuration field in the Inttegro API payload.
Optional in the API payload; omitted values default to nil. Wire name: push_configuration.
85 86 87 88 89 90 91 92 93 94 95 96 |
# File 'lib/inttegro/financial_account/bank_request.rb', line 85 class BankRequest < T::Struct const :currency, String const :custom_data, T.nilable(Inttegro::CustomDataInput), default: nil const :description, T.nilable(String), default: nil const :label, String const :owner, T.nilable(Inttegro::FinancialAccount::OwnerInput), default: nil const :pull_configuration, T.nilable(Inttegro::FinancialAccount::RequestBasePullConfiguration), default: nil const :push_configuration, T.nilable(Inttegro::FinancialAccount::RequestBasePushConfiguration), default: nil const :reference, String const :type, Inttegro::FinancialAccount::BankRequestType const :bank_account, Inttegro::FinancialAccount::BankRequestBankAccount end |
#reference ⇒ String (readonly)
Value of the reference field in the Inttegro API payload.
Required in the API payload. Wire name: reference.
85 86 87 88 89 90 91 92 93 94 95 96 |
# File 'lib/inttegro/financial_account/bank_request.rb', line 85 class BankRequest < T::Struct const :currency, String const :custom_data, T.nilable(Inttegro::CustomDataInput), default: nil const :description, T.nilable(String), default: nil const :label, String const :owner, T.nilable(Inttegro::FinancialAccount::OwnerInput), default: nil const :pull_configuration, T.nilable(Inttegro::FinancialAccount::RequestBasePullConfiguration), default: nil const :push_configuration, T.nilable(Inttegro::FinancialAccount::RequestBasePushConfiguration), default: nil const :reference, String const :type, Inttegro::FinancialAccount::BankRequestType const :bank_account, Inttegro::FinancialAccount::BankRequestBankAccount end |
#type ⇒ Inttegro::FinancialAccount::BankRequestType (readonly)
Value of the type field in the Inttegro API payload.
Required in the API payload. Wire name: type.
85 86 87 88 89 90 91 92 93 94 95 96 |
# File 'lib/inttegro/financial_account/bank_request.rb', line 85 class BankRequest < T::Struct const :currency, String const :custom_data, T.nilable(Inttegro::CustomDataInput), default: nil const :description, T.nilable(String), default: nil const :label, String const :owner, T.nilable(Inttegro::FinancialAccount::OwnerInput), default: nil const :pull_configuration, T.nilable(Inttegro::FinancialAccount::RequestBasePullConfiguration), default: nil const :push_configuration, T.nilable(Inttegro::FinancialAccount::RequestBasePushConfiguration), default: nil const :reference, String const :type, Inttegro::FinancialAccount::BankRequestType const :bank_account, Inttegro::FinancialAccount::BankRequestBankAccount end |