Class: Inttegro::FinancialAccount::BankRequestBankAccount

Inherits:
T::Struct
  • Object
show all
Defined in:
lib/inttegro/financial_account/bank_request_bank_account.rb

Overview

Typed representation of the bank request bank account 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

#ghana_bank_account ⇒ Inttegro::FinancialAccount::BankRequestBankAccountGhanaBankAccount (readonly)

Value of the ghana_bank_account field in the Inttegro API payload.

Required in the API payload. Wire name: ghana_bank_account.



31
32
33
34
# File 'lib/inttegro/financial_account/bank_request_bank_account.rb', line 31

class BankRequestBankAccount < T::Struct
  const :type, Inttegro::BankAccount::Type
  const :ghana_bank_account, Inttegro::FinancialAccount::BankRequestBankAccountGhanaBankAccount
end

#type ⇒ Inttegro::BankAccount::Type (readonly)

Value of the type field in the Inttegro API payload.

Required in the API payload. Wire name: type.



31
32
33
34
# File 'lib/inttegro/financial_account/bank_request_bank_account.rb', line 31

class BankRequestBankAccount < T::Struct
  const :type, Inttegro::BankAccount::Type
  const :ghana_bank_account, Inttegro::FinancialAccount::BankRequestBankAccountGhanaBankAccount
end