Class: MethodRuby::Models::Accounts::ConsentWithdrawResponse::Data::AccountClearingResource::PaymentInstrument::AccountPaymentInstrument
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- MethodRuby::Models::Accounts::ConsentWithdrawResponse::Data::AccountClearingResource::PaymentInstrument::AccountPaymentInstrument
- Defined in:
- lib/method_ruby/models/accounts/consent_withdraw_response.rb
Defined Under Namespace
Modules: Status, Type Classes: Card, InboundAchwirePayment, NetworkToken
Instance Attribute Summary collapse
-
#account_id ⇒ String
The account this payment instrument belongs to.
-
#card ⇒ MethodRuby::Models::Accounts::ConsentWithdrawResponse::Data::AccountClearingResource::PaymentInstrument::AccountPaymentInstrument::Card?
Card details.
-
#chargeable ⇒ Boolean?
Whether this payment instrument is currently chargeable.
-
#created_at ⇒ Time
Timestamp when the payment instrument was created.
- #error ⇒ MethodRuby::Models::ResourceError?
-
#id ⇒ String
Unique identifier for the payment instrument.
-
#inbound_achwire_payment ⇒ MethodRuby::Models::Accounts::ConsentWithdrawResponse::Data::AccountClearingResource::PaymentInstrument::AccountPaymentInstrument::InboundAchwirePayment?
ACH/wire payment details.
-
#network_token ⇒ MethodRuby::Models::Accounts::ConsentWithdrawResponse::Data::AccountClearingResource::PaymentInstrument::AccountPaymentInstrument::NetworkToken?
Network token details.
-
#status ⇒ Symbol, MethodRuby::Models::Accounts::ConsentWithdrawResponse::Data::AccountClearingResource::PaymentInstrument::AccountPaymentInstrument::Status
Current status of the payment instrument.
-
#type ⇒ Symbol, MethodRuby::Models::Accounts::ConsentWithdrawResponse::Data::AccountClearingResource::PaymentInstrument::AccountPaymentInstrument::Type
The type of payment instrument.
-
#updated_at ⇒ Time
Timestamp when the payment instrument was last updated.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(account_number: nil, routing_number: nil) ⇒ Object
constructor
ACH/wire payment details.
Methods inherited from Internal::Type::BaseModel
==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml
Methods included from Internal::Type::Converter
#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info
Methods included from Internal::Util::SorbetRuntimeSupport
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(account_number: nil, routing_number: nil) ⇒ Object
ACH/wire payment details. Present when type is inbound_achwire_payment.
|
|
# File 'lib/method_ruby/models/accounts/consent_withdraw_response.rb', line 9287
|
Instance Attribute Details
#account_id ⇒ String
The account this payment instrument belongs to.
9224 |
# File 'lib/method_ruby/models/accounts/consent_withdraw_response.rb', line 9224 required :account_id, String |
#card ⇒ MethodRuby::Models::Accounts::ConsentWithdrawResponse::Data::AccountClearingResource::PaymentInstrument::AccountPaymentInstrument::Card?
Card details. Present when type is card.
9256 9257 9258 |
# File 'lib/method_ruby/models/accounts/consent_withdraw_response.rb', line 9256 optional :card, -> { MethodRuby::Models::Accounts::ConsentWithdrawResponse::Data::AccountClearingResource::PaymentInstrument::AccountPaymentInstrument::Card }, nil?: true |
#chargeable ⇒ Boolean?
Whether this payment instrument is currently chargeable.
9264 |
# File 'lib/method_ruby/models/accounts/consent_withdraw_response.rb', line 9264 optional :chargeable, MethodRuby::Internal::Type::Boolean |
#created_at ⇒ Time
Timestamp when the payment instrument was created.
9230 |
# File 'lib/method_ruby/models/accounts/consent_withdraw_response.rb', line 9230 required :created_at, Time |
#error ⇒ MethodRuby::Models::ResourceError?
9269 |
# File 'lib/method_ruby/models/accounts/consent_withdraw_response.rb', line 9269 optional :error, -> { MethodRuby::ResourceError }, nil?: true |
#id ⇒ String
Unique identifier for the payment instrument.
9218 |
# File 'lib/method_ruby/models/accounts/consent_withdraw_response.rb', line 9218 required :id, String |
#inbound_achwire_payment ⇒ MethodRuby::Models::Accounts::ConsentWithdrawResponse::Data::AccountClearingResource::PaymentInstrument::AccountPaymentInstrument::InboundAchwirePayment?
ACH/wire payment details. Present when type is inbound_achwire_payment.
9275 9276 9277 |
# File 'lib/method_ruby/models/accounts/consent_withdraw_response.rb', line 9275 optional :inbound_achwire_payment, -> { MethodRuby::Models::Accounts::ConsentWithdrawResponse::Data::AccountClearingResource::PaymentInstrument::AccountPaymentInstrument::InboundAchwirePayment }, nil?: true |
#network_token ⇒ MethodRuby::Models::Accounts::ConsentWithdrawResponse::Data::AccountClearingResource::PaymentInstrument::AccountPaymentInstrument::NetworkToken?
Network token details. Present when type is network_token.
9283 9284 9285 |
# File 'lib/method_ruby/models/accounts/consent_withdraw_response.rb', line 9283 optional :network_token, -> { MethodRuby::Models::Accounts::ConsentWithdrawResponse::Data::AccountClearingResource::PaymentInstrument::AccountPaymentInstrument::NetworkToken }, nil?: true |
#status ⇒ Symbol, MethodRuby::Models::Accounts::ConsentWithdrawResponse::Data::AccountClearingResource::PaymentInstrument::AccountPaymentInstrument::Status
Current status of the payment instrument.
9236 9237 |
# File 'lib/method_ruby/models/accounts/consent_withdraw_response.rb', line 9236 required :status, enum: -> { MethodRuby::Models::Accounts::ConsentWithdrawResponse::Data::AccountClearingResource::PaymentInstrument::AccountPaymentInstrument::Status } |
#type ⇒ Symbol, MethodRuby::Models::Accounts::ConsentWithdrawResponse::Data::AccountClearingResource::PaymentInstrument::AccountPaymentInstrument::Type
The type of payment instrument.
9243 9244 |
# File 'lib/method_ruby/models/accounts/consent_withdraw_response.rb', line 9243 required :type, enum: -> { MethodRuby::Models::Accounts::ConsentWithdrawResponse::Data::AccountClearingResource::PaymentInstrument::AccountPaymentInstrument::Type } |
#updated_at ⇒ Time
Timestamp when the payment instrument was last updated.
9250 |
# File 'lib/method_ruby/models/accounts/consent_withdraw_response.rb', line 9250 required :updated_at, Time |
Class Method Details
.values ⇒ Array<Symbol>
|
|
# File 'lib/method_ruby/models/accounts/consent_withdraw_response.rb', line 9322
|