Class: Inttegro::Refund::SettlementBankAccountPaymentMethod
- Inherits:
-
T::Struct
- Object
- T::Struct
- Inttegro::Refund::SettlementBankAccountPaymentMethod
- Defined in:
- lib/inttegro/refund/settlement_bank_account_payment_method.rb
Overview
Typed representation of the settlement bank account payment method 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
-
#bank_account ⇒ Inttegro::Refund::SettlementBankAccountPaymentMethodBankAccount
readonly
Value of the
bank_accountfield in the Inttegro API payload. -
#id ⇒ String
readonly
Public identifier of the original payment method.
-
#type ⇒ Inttegro::Refund::SettlementBankAccountPaymentMethodType
readonly
Value of the
typefield in the Inttegro API payload.
Instance Attribute Details
#bank_account ⇒ Inttegro::Refund::SettlementBankAccountPaymentMethodBankAccount (readonly)
Value of the bank_account field in the Inttegro API payload.
Required in the API payload. Wire name: bank_account.
38 39 40 41 42 |
# File 'lib/inttegro/refund/settlement_bank_account_payment_method.rb', line 38 class SettlementBankAccountPaymentMethod < T::Struct const :bank_account, Inttegro::Refund::SettlementBankAccountPaymentMethodBankAccount const :id, String const :type, Inttegro::Refund::SettlementBankAccountPaymentMethodType end |
#id ⇒ String (readonly)
Public identifier of the original payment method.
Required in the API payload. Wire name: id.
38 39 40 41 42 |
# File 'lib/inttegro/refund/settlement_bank_account_payment_method.rb', line 38 class SettlementBankAccountPaymentMethod < T::Struct const :bank_account, Inttegro::Refund::SettlementBankAccountPaymentMethodBankAccount const :id, String const :type, Inttegro::Refund::SettlementBankAccountPaymentMethodType end |
#type ⇒ Inttegro::Refund::SettlementBankAccountPaymentMethodType (readonly)
Value of the type field in the Inttegro API payload.
Required in the API payload. Wire name: type.
38 39 40 41 42 |
# File 'lib/inttegro/refund/settlement_bank_account_payment_method.rb', line 38 class SettlementBankAccountPaymentMethod < T::Struct const :bank_account, Inttegro::Refund::SettlementBankAccountPaymentMethodBankAccount const :id, String const :type, Inttegro::Refund::SettlementBankAccountPaymentMethodType end |