Class: MethodRuby::Models::AccountUpdateParams::Liability
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- MethodRuby::Models::AccountUpdateParams::Liability
- Defined in:
- lib/method_ruby/models/account_update_params.rb
Defined Under Namespace
Classes: CreditCard, Mortgage
Instance Attribute Summary collapse
-
#credit_card ⇒ MethodRuby::Models::AccountUpdateParams::Liability::CreditCard?
Credit card update.
-
#mortgage ⇒ MethodRuby::Models::AccountUpdateParams::Liability::Mortgage?
Mortgage address update.
Instance Method Summary collapse
-
#initialize(cvv: nil, expiration_month: nil, expiration_year: nil, number: nil) ⇒ Object
constructor
Credit card update.
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(cvv: nil, expiration_month: nil, expiration_year: nil, number: nil) ⇒ Object
Credit card update. Provide either number alone, or expiration + CVV.
|
|
# File 'lib/method_ruby/models/account_update_params.rb', line 76
|
Instance Attribute Details
#credit_card ⇒ MethodRuby::Models::AccountUpdateParams::Liability::CreditCard?
Credit card update. Provide either number alone, or expiration + CVV.
68 |
# File 'lib/method_ruby/models/account_update_params.rb', line 68 optional :credit_card, -> { MethodRuby::AccountUpdateParams::Liability::CreditCard } |
#mortgage ⇒ MethodRuby::Models::AccountUpdateParams::Liability::Mortgage?
Mortgage address update.
74 |
# File 'lib/method_ruby/models/account_update_params.rb', line 74 optional :mortgage, -> { MethodRuby::AccountUpdateParams::Liability::Mortgage } |