Class: MetronomeSDK::Models::V2::ContractEditParams::AddRecurringCommit::SubscriptionConfig

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/metronome_sdk/models/v2/contract_edit_params.rb

Overview

Defined Under Namespace

Modules: Allocation Classes: ApplySeatIncreaseConfig

Instance Attribute Summary collapse

Instance Method Summary collapse

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(is_prorated: ) ⇒ Object

Parameters:

  • is_prorated (Boolean) (defaults to: )

    Indicates whether a mid-period seat increase should be prorated.



# File 'lib/metronome_sdk/models/v2/contract_edit_params.rb', line 2144

Instance Attribute Details

#allocationSymbol, ...

If set to POOLED, allocation added per seat is pooled across the account. (BETA) If set to INDIVIDUAL, each seat in the subscription will have its own allocation.



2141
2142
# File 'lib/metronome_sdk/models/v2/contract_edit_params.rb', line 2141

optional :allocation,
enum: -> { MetronomeSDK::V2::ContractEditParams::AddRecurringCommit::SubscriptionConfig::Allocation }

#apply_seat_increase_configMetronomeSDK::Models::V2::ContractEditParams::AddRecurringCommit::SubscriptionConfig::ApplySeatIncreaseConfig



2126
2127
# File 'lib/metronome_sdk/models/v2/contract_edit_params.rb', line 2126

required :apply_seat_increase_config,
-> { MetronomeSDK::V2::ContractEditParams::AddRecurringCommit::SubscriptionConfig::ApplySeatIncreaseConfig }

#subscription_idString

ID of the subscription to configure on the recurring commit/credit.

Returns:

  • (String)


2133
# File 'lib/metronome_sdk/models/v2/contract_edit_params.rb', line 2133

required :subscription_id, String