Class: Stigg::Models::V1::SubscriptionUpdateParams::Charge
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Stigg::Models::V1::SubscriptionUpdateParams::Charge
- Defined in:
- lib/stigg/models/v1/subscription_update_params.rb
Defined Under Namespace
Modules: Type
Instance Attribute Summary collapse
-
#id ⇒ String
Charge ID.
- #quantity ⇒ Float
- #type ⇒ Symbol, Stigg::Models::V1::SubscriptionUpdateParams::Charge::Type
Instance Method Summary collapse
- #initialize(id:, quantity:, type:) ⇒ Object constructor
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(id:, quantity:, type:) ⇒ Object
|
|
# File 'lib/stigg/models/v1/subscription_update_params.rb', line 645
|
Instance Attribute Details
#id ⇒ String
Charge ID
633 |
# File 'lib/stigg/models/v1/subscription_update_params.rb', line 633 required :id, String |
#quantity ⇒ Float
638 |
# File 'lib/stigg/models/v1/subscription_update_params.rb', line 638 required :quantity, Float |
#type ⇒ Symbol, Stigg::Models::V1::SubscriptionUpdateParams::Charge::Type
643 |
# File 'lib/stigg/models/v1/subscription_update_params.rb', line 643 required :type, enum: -> { Stigg::V1::SubscriptionUpdateParams::Charge::Type } |