Class: MetronomeSDK::Models::Override::OverrideSpecifier
Defined Under Namespace
Modules: BillingFrequency
Instance Attribute Summary collapse
Instance Method Summary
collapse
==, #==, #[], 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
#coerce, coerce, #dump, dump, inspect, #inspect, meta_info, new_coerce_state, type_info
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(billing_frequency: nil, commit_ids: nil, presentation_group_values: nil, pricing_group_values: nil, product_id: nil, product_tags: nil, recurring_commit_ids: nil, recurring_credit_ids: nil) ⇒ Object
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
|
# File 'lib/metronome_sdk/models/override.rb', line 166
class OverrideSpecifier < MetronomeSDK::Internal::Type::BaseModel
optional :billing_frequency, enum: -> { MetronomeSDK::Override::OverrideSpecifier::BillingFrequency }
optional :commit_ids, MetronomeSDK::Internal::Type::ArrayOf[String]
optional :presentation_group_values, MetronomeSDK::Internal::Type::HashOf[String, nil?: true]
optional :pricing_group_values, MetronomeSDK::Internal::Type::HashOf[String]
optional :product_id, String
optional :product_tags, MetronomeSDK::Internal::Type::ArrayOf[String]
optional :recurring_commit_ids, MetronomeSDK::Internal::Type::ArrayOf[String]
optional :recurring_credit_ids, MetronomeSDK::Internal::Type::ArrayOf[String]
module BillingFrequency
extend MetronomeSDK::Internal::Type::Enum
MONTHLY = :MONTHLY
QUARTERLY = :QUARTERLY
ANNUAL = :ANNUAL
WEEKLY = :WEEKLY
end
end
|
Instance Attribute Details
#billing_frequency ⇒ Symbol, ...
170
|
# File 'lib/metronome_sdk/models/override.rb', line 170
optional :billing_frequency, enum: -> { MetronomeSDK::Override::OverrideSpecifier::BillingFrequency }
|
#commit_ids ⇒ Array<String>?
175
|
# File 'lib/metronome_sdk/models/override.rb', line 175
optional :commit_ids, MetronomeSDK::Internal::Type::ArrayOf[String]
|
#presentation_group_values ⇒ Hash{Symbol=>String, nil}?
180
|
# File 'lib/metronome_sdk/models/override.rb', line 180
optional :presentation_group_values, MetronomeSDK::Internal::Type::HashOf[String, nil?: true]
|
#pricing_group_values ⇒ Hash{Symbol=>String}?
185
|
# File 'lib/metronome_sdk/models/override.rb', line 185
optional :pricing_group_values, MetronomeSDK::Internal::Type::HashOf[String]
|
#product_id ⇒ String?
190
|
# File 'lib/metronome_sdk/models/override.rb', line 190
optional :product_id, String
|
195
|
# File 'lib/metronome_sdk/models/override.rb', line 195
optional :product_tags, MetronomeSDK::Internal::Type::ArrayOf[String]
|
#recurring_commit_ids ⇒ Array<String>?
200
|
# File 'lib/metronome_sdk/models/override.rb', line 200
optional :recurring_commit_ids, MetronomeSDK::Internal::Type::ArrayOf[String]
|
#recurring_credit_ids ⇒ Array<String>?
205
|
# File 'lib/metronome_sdk/models/override.rb', line 205
optional :recurring_credit_ids, MetronomeSDK::Internal::Type::ArrayOf[String]
|