Class: MethodRuby::Models::AccountCreateParams::Body::Liability
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- MethodRuby::Models::AccountCreateParams::Body::Liability
- Defined in:
- lib/method_ruby/models/account_create_params.rb
Defined Under Namespace
Modules: Type Classes: Liability
Instance Attribute Summary collapse
-
#holder_id ⇒ String
The entity ID that will own this account.
-
#liability ⇒ MethodRuby::Models::AccountCreateParams::Body::Liability::Liability
Liability account details.
-
#metadata ⇒ Hash{Symbol=>Object}?
Arbitrary key-value metadata attached to the resource.
- #type ⇒ Symbol, ...
Instance Method Summary collapse
-
#initialize(exp_month:, exp_year:, billing_zip_code: nil, cvv: nil) ⇒ Object
constructor
Optional supplemental card details for liability accounts.
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:, billing_zip_code: nil, cvv: nil) ⇒ Object
Optional supplemental card details for liability accounts.
|
|
# File 'lib/method_ruby/models/account_create_params.rb', line 177
|
Instance Attribute Details
#holder_id ⇒ String
The entity ID that will own this account.
156 |
# File 'lib/method_ruby/models/account_create_params.rb', line 156 required :holder_id, String |
#liability ⇒ MethodRuby::Models::AccountCreateParams::Body::Liability::Liability
Liability account details.
162 |
# File 'lib/method_ruby/models/account_create_params.rb', line 162 required :liability, -> { MethodRuby::AccountCreateParams::Body::Liability::Liability } |
#metadata ⇒ Hash{Symbol=>Object}?
Arbitrary key-value metadata attached to the resource.
168 169 170 |
# File 'lib/method_ruby/models/account_create_params.rb', line 168 optional :metadata, MethodRuby::Internal::Type::HashOf[MethodRuby::Internal::Type::Unknown], nil?: true |
#type ⇒ Symbol, ...
175 |
# File 'lib/method_ruby/models/account_create_params.rb', line 175 optional :type, enum: -> { MethodRuby::AccountCreateParams::Body::Liability::Type } |