Class: MetronomeSDK::Models::V2::ContractEditParams::UpdateSubscription
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- MetronomeSDK::Models::V2::ContractEditParams::UpdateSubscription
- Defined in:
- lib/metronome_sdk/models/v2/contract_edit_params.rb
Defined Under Namespace
Classes: QuantityUpdate
Instance Attribute Summary collapse
- #ending_before ⇒ Time?
-
#quantity_updates ⇒ Array<MetronomeSDK::Models::V2::ContractEditParams::UpdateSubscription::QuantityUpdate>?
Quantity changes are applied on the effective date based on the order which they are sent.
- #subscription_id ⇒ String
Method Summary
Methods inherited from Internal::Type::BaseModel
#==, ==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, #initialize, 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
This class inherits a constructor from MetronomeSDK::Internal::Type::BaseModel
Instance Attribute Details
#ending_before ⇒ Time?
4070 |
# File 'lib/metronome_sdk/models/v2/contract_edit_params.rb', line 4070 optional :ending_before, Time, nil?: true |
#quantity_updates ⇒ Array<MetronomeSDK::Models::V2::ContractEditParams::UpdateSubscription::QuantityUpdate>?
Quantity changes are applied on the effective date based on the order which they are sent. For example, if I scheduled the quantity to be 12 on May 21 and then scheduled a quantity delta change of -1, the result from that day would be 11.
4078 4079 |
# File 'lib/metronome_sdk/models/v2/contract_edit_params.rb', line 4078 optional :quantity_updates, -> { MetronomeSDK::Internal::Type::ArrayOf[MetronomeSDK::V2::ContractEditParams::UpdateSubscription::QuantityUpdate] } |
#subscription_id ⇒ String
4065 |
# File 'lib/metronome_sdk/models/v2/contract_edit_params.rb', line 4065 required :subscription_id, String |