Class: Inttegro::FinancialAccount::UpdatedBank
- Inherits:
-
T::Struct
- Object
- T::Struct
- Inttegro::FinancialAccount::UpdatedBank
- Defined in:
- lib/inttegro/financial_account/updated_bank.rb
Overview
Typed representation of the updated bank 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
-
#ghana_bank_account ⇒ Inttegro::BankAccount::Updated?
readonly
Value of the
ghana_bank_accountfield in the Inttegro API payload. -
#id ⇒ String
readonly
Value of the
idfield in the Inttegro API payload. -
#type ⇒ Inttegro::BankAccount::Type
readonly
Value of the
typefield in the Inttegro API payload.
Instance Attribute Details
#ghana_bank_account ⇒ Inttegro::BankAccount::Updated? (readonly)
Value of the ghana_bank_account field in the Inttegro API payload.
Optional in the API payload; omitted values default to nil. Wire name: ghana_bank_account.
37 38 39 40 41 |
# File 'lib/inttegro/financial_account/updated_bank.rb', line 37 class UpdatedBank < T::Struct const :id, String const :type, Inttegro::BankAccount::Type const :ghana_bank_account, T.nilable(Inttegro::BankAccount::Updated), default: nil end |
#id ⇒ String (readonly)
Value of the id field in the Inttegro API payload.
Required in the API payload. Wire name: id.
37 38 39 40 41 |
# File 'lib/inttegro/financial_account/updated_bank.rb', line 37 class UpdatedBank < T::Struct const :id, String const :type, Inttegro::BankAccount::Type const :ghana_bank_account, T.nilable(Inttegro::BankAccount::Updated), default: nil end |
#type ⇒ Inttegro::BankAccount::Type (readonly)
Value of the type field in the Inttegro API payload.
Required in the API payload. Wire name: type.
37 38 39 40 41 |
# File 'lib/inttegro/financial_account/updated_bank.rb', line 37 class UpdatedBank < T::Struct const :id, String const :type, Inttegro::BankAccount::Type const :ghana_bank_account, T.nilable(Inttegro::BankAccount::Updated), default: nil end |