Class: Inttegro::Refund::SettlementBankAccountPaymentMethodBankAccount

Inherits:
T::Struct
  • Object
show all
Defined in:
lib/inttegro/refund/settlement_bank_account_payment_method_bank_account.rb

Overview

Typed representation of the settlement bank account payment method 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::Refund::SettlementBankAccountPaymentMethodBankAccountGhanaBankAccount (readonly)

Value of the ghana_bank_account field in the Inttegro API payload.

Required in the API payload. Wire name: ghana_bank_account.



32
33
34
35
# File 'lib/inttegro/refund/settlement_bank_account_payment_method_bank_account.rb', line 32

class SettlementBankAccountPaymentMethodBankAccount < T::Struct
  const :ghana_bank_account, Inttegro::Refund::SettlementBankAccountPaymentMethodBankAccountGhanaBankAccount
  const :type, Inttegro::BankAccount::Type
end

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

Value of the type field in the Inttegro API payload.

Required in the API payload. Wire name: type.



32
33
34
35
# File 'lib/inttegro/refund/settlement_bank_account_payment_method_bank_account.rb', line 32

class SettlementBankAccountPaymentMethodBankAccount < T::Struct
  const :ghana_bank_account, Inttegro::Refund::SettlementBankAccountPaymentMethodBankAccountGhanaBankAccount
  const :type, Inttegro::BankAccount::Type
end