Class: MethodRuby::Models::AccountCreateParams::Body::DebitCard
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- MethodRuby::Models::AccountCreateParams::Body::DebitCard
- Defined in:
- lib/method_ruby/models/account_create_params.rb
Defined Under Namespace
Modules: Type Classes: DebitCard
Instance Attribute Summary collapse
-
#debit_card ⇒ MethodRuby::Models::AccountCreateParams::Body::DebitCard::DebitCard
Debit card details.
-
#holder_id ⇒ String
The entity ID that will own this account.
-
#metadata ⇒ Hash{Symbol=>Object}?
Arbitrary key-value metadata attached to the resource.
- #type ⇒ Symbol, ...
Instance Method Summary collapse
-
#initialize(exp_month:, exp_year:, number:, billing_zip_code: nil, cvv: nil) ⇒ Object
constructor
Debit card 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(exp_month:, exp_year:, number:, billing_zip_code: nil, cvv: nil) ⇒ Object
Debit card details.
|
|
# File 'lib/method_ruby/models/account_create_params.rb', line 369
|
Instance Attribute Details
#debit_card ⇒ MethodRuby::Models::AccountCreateParams::Body::DebitCard::DebitCard
Debit card details.
348 |
# File 'lib/method_ruby/models/account_create_params.rb', line 348 required :debit_card, -> { MethodRuby::AccountCreateParams::Body::DebitCard::DebitCard } |
#holder_id ⇒ String
The entity ID that will own this account.
354 |
# File 'lib/method_ruby/models/account_create_params.rb', line 354 required :holder_id, String |
#metadata ⇒ Hash{Symbol=>Object}?
Arbitrary key-value metadata attached to the resource.
360 361 362 |
# File 'lib/method_ruby/models/account_create_params.rb', line 360 optional :metadata, MethodRuby::Internal::Type::HashOf[MethodRuby::Internal::Type::Unknown], nil?: true |
#type ⇒ Symbol, ...
367 |
# File 'lib/method_ruby/models/account_create_params.rb', line 367 optional :type, enum: -> { MethodRuby::AccountCreateParams::Body::DebitCard::Type } |