Class: Inttegro::PaymentMethod::BankAccount
- Inherits:
-
T::Struct
- Object
- T::Struct
- Inttegro::PaymentMethod::BankAccount
- Defined in:
- lib/inttegro/payment_method/bank_account.rb
Overview
Bank account details (present when type is bank_account)
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::PaymentMethod::BankAccountGhanaBankAccount?
readonly
Ghana bank account details.
-
#type ⇒ Inttegro::BankAccount::Type
readonly
Bank account sub-type.
Instance Attribute Details
#ghana_bank_account ⇒ Inttegro::PaymentMethod::BankAccountGhanaBankAccount? (readonly)
Ghana bank account details
Optional in the API payload; omitted values default to nil. Wire name: ghana_bank_account.
31 32 33 34 |
# File 'lib/inttegro/payment_method/bank_account.rb', line 31 class BankAccount < T::Struct const :ghana_bank_account, T.nilable(Inttegro::PaymentMethod::BankAccountGhanaBankAccount), default: nil const :type, Inttegro::BankAccount::Type end |
#type ⇒ Inttegro::BankAccount::Type (readonly)
Bank account sub-type
Required in the API payload. Wire name: type.
31 32 33 34 |
# File 'lib/inttegro/payment_method/bank_account.rb', line 31 class BankAccount < T::Struct const :ghana_bank_account, T.nilable(Inttegro::PaymentMethod::BankAccountGhanaBankAccount), default: nil const :type, Inttegro::BankAccount::Type end |