Class: MethodRuby::Models::Accounts::PaymentInstrumentCreateParams
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- MethodRuby::Models::Accounts::PaymentInstrumentCreateParams
- Extended by:
- Internal::Type::RequestParameters::Converter
- Includes:
- Internal::Type::RequestParameters
- Defined in:
- lib/method_ruby/models/accounts/payment_instrument_create_params.rb
Overview
Defined Under Namespace
Modules: MethodVersion, Type
Instance Attribute Summary collapse
- #account_id ⇒ String
- #idempotency_key ⇒ String?
- #method_version ⇒ Symbol, MethodRuby::Models::Accounts::PaymentInstrumentCreateParams::MethodVersion
-
#type ⇒ Symbol, MethodRuby::Models::Accounts::PaymentInstrumentCreateParams::Type
The type of payment instrument to create.
Attributes included from Internal::Type::RequestParameters
Class Method Summary collapse
Instance Method Summary collapse
- #initialize(account_id:, type:, method_version:, idempotency_key: nil, request_options: {}) ⇒ Object constructor
Methods included from Internal::Type::RequestParameters::Converter
Methods included from Internal::Type::RequestParameters
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_id:, type:, method_version:, idempotency_key: nil, request_options: {}) ⇒ Object
|
|
# File 'lib/method_ruby/models/accounts/payment_instrument_create_params.rb', line 32
|
Instance Attribute Details
#account_id ⇒ String
14 |
# File 'lib/method_ruby/models/accounts/payment_instrument_create_params.rb', line 14 required :account_id, String |
#idempotency_key ⇒ String?
30 |
# File 'lib/method_ruby/models/accounts/payment_instrument_create_params.rb', line 30 optional :idempotency_key, String |
#method_version ⇒ Symbol, MethodRuby::Models::Accounts::PaymentInstrumentCreateParams::MethodVersion
25 |
# File 'lib/method_ruby/models/accounts/payment_instrument_create_params.rb', line 25 required :method_version, enum: -> { MethodRuby::Accounts::PaymentInstrumentCreateParams::MethodVersion } |
#type ⇒ Symbol, MethodRuby::Models::Accounts::PaymentInstrumentCreateParams::Type
The type of payment instrument to create.
20 |
# File 'lib/method_ruby/models/accounts/payment_instrument_create_params.rb', line 20 required :type, enum: -> { MethodRuby::Accounts::PaymentInstrumentCreateParams::Type } |
Class Method Details
.values ⇒ Array<Symbol>
|
|
# File 'lib/method_ruby/models/accounts/payment_instrument_create_params.rb', line 51
|