Class: Inttegro::Refund::SettlementBankAccountPaymentMethodBankAccountGhanaBankAccount

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

Overview

Typed representation of the settlement bank account payment method bank account ghana 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

#account_number ⇒ String (readonly)

Masked bank-account number. The full number is never returned.

Required in the API payload. Wire name: account_number.

Returns:

  • (String)


30
31
32
33
# File 'lib/inttegro/refund/settlement_bank_account_payment_method_bank_account_ghana_bank_account.rb', line 30

class SettlementBankAccountPaymentMethodBankAccountGhanaBankAccount < T::Struct
  const :account_number, String
  const :last4, String
end

#last4 ⇒ String (readonly)

Last four numeric digits of the original bank-account number.

Required in the API payload. Wire name: last4.

Returns:

  • (String)


30
31
32
33
# File 'lib/inttegro/refund/settlement_bank_account_payment_method_bank_account_ghana_bank_account.rb', line 30

class SettlementBankAccountPaymentMethodBankAccountGhanaBankAccount < T::Struct
  const :account_number, String
  const :last4, String
end