Class: MetronomeSDK::Models::ContractV2::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
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
|
# File 'lib/metronome_sdk/models/contract_v2.rb', line 1306
class OverrideSpecifier < MetronomeSDK::Internal::Type::BaseModel
optional :billing_frequency,
enum: -> { MetronomeSDK::ContractV2::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, ...
1310
1311
|
# File 'lib/metronome_sdk/models/contract_v2.rb', line 1310
optional :billing_frequency,
enum: -> { MetronomeSDK::ContractV2::Override::OverrideSpecifier::BillingFrequency }
|
#commit_ids ⇒ Array<String>?
1316
|
# File 'lib/metronome_sdk/models/contract_v2.rb', line 1316
optional :commit_ids, MetronomeSDK::Internal::Type::ArrayOf[String]
|
#presentation_group_values ⇒ Hash{Symbol=>String, nil}?
1321
|
# File 'lib/metronome_sdk/models/contract_v2.rb', line 1321
optional :presentation_group_values, MetronomeSDK::Internal::Type::HashOf[String, nil?: true]
|
#pricing_group_values ⇒ Hash{Symbol=>String}?
1326
|
# File 'lib/metronome_sdk/models/contract_v2.rb', line 1326
optional :pricing_group_values, MetronomeSDK::Internal::Type::HashOf[String]
|
#product_id ⇒ String?
1331
|
# File 'lib/metronome_sdk/models/contract_v2.rb', line 1331
optional :product_id, String
|
1336
|
# File 'lib/metronome_sdk/models/contract_v2.rb', line 1336
optional :product_tags, MetronomeSDK::Internal::Type::ArrayOf[String]
|
#recurring_commit_ids ⇒ Array<String>?
1341
|
# File 'lib/metronome_sdk/models/contract_v2.rb', line 1341
optional :recurring_commit_ids, MetronomeSDK::Internal::Type::ArrayOf[String]
|
#recurring_credit_ids ⇒ Array<String>?
1346
|
# File 'lib/metronome_sdk/models/contract_v2.rb', line 1346
optional :recurring_credit_ids, MetronomeSDK::Internal::Type::ArrayOf[String]
|