Class: MetronomeSDK::Models::Contract::Amendment::ResellerRoyalty
Defined Under Namespace
Modules: ResellerType
Instance Attribute Summary collapse
Instance Method Summary
collapse
-
#initialize(reseller_type:, aws_account_number: nil, aws_offer_id: nil, aws_payer_reference_id: nil, ending_before: nil, fraction: nil, gcp_account_id: nil, gcp_offer_id: nil, netsuite_reseller_id: nil, reseller_contract_value: nil, starting_at: nil) ⇒ Object
constructor
==, #==, #[], 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(reseller_type:, aws_account_number: nil, aws_offer_id: nil, aws_payer_reference_id: nil, ending_before: nil, fraction: nil, gcp_account_id: nil, gcp_offer_id: nil, netsuite_reseller_id: nil, reseller_contract_value: nil, starting_at: nil) ⇒ Object
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
|
# File 'lib/metronome_sdk/models/contract.rb', line 233
class ResellerRoyalty < MetronomeSDK::Internal::Type::BaseModel
required :reseller_type, enum: -> { MetronomeSDK::Contract::Amendment::ResellerRoyalty::ResellerType }
optional :aws_account_number, String
optional :aws_offer_id, String
optional :aws_payer_reference_id, String
optional :ending_before, Time, nil?: true
optional :fraction, Float
optional :gcp_account_id, String
optional :gcp_offer_id, String
optional :netsuite_reseller_id, String
optional :reseller_contract_value, Float
optional :starting_at, Time
module ResellerType
extend MetronomeSDK::Internal::Type::Enum
AWS = :AWS
AWS_PRO_SERVICE = :AWS_PRO_SERVICE
GCP = :GCP
GCP_PRO_SERVICE = :GCP_PRO_SERVICE
end
end
|
Instance Attribute Details
#aws_account_number ⇒ String?
242
|
# File 'lib/metronome_sdk/models/contract.rb', line 242
optional :aws_account_number, String
|
#aws_offer_id ⇒ String?
247
|
# File 'lib/metronome_sdk/models/contract.rb', line 247
optional :aws_offer_id, String
|
#aws_payer_reference_id ⇒ String?
252
|
# File 'lib/metronome_sdk/models/contract.rb', line 252
optional :aws_payer_reference_id, String
|
#ending_before ⇒ Time?
257
|
# File 'lib/metronome_sdk/models/contract.rb', line 257
optional :ending_before, Time, nil?: true
|
#fraction ⇒ Float?
262
|
# File 'lib/metronome_sdk/models/contract.rb', line 262
optional :fraction, Float
|
#gcp_account_id ⇒ String?
267
|
# File 'lib/metronome_sdk/models/contract.rb', line 267
optional :gcp_account_id, String
|
#gcp_offer_id ⇒ String?
272
|
# File 'lib/metronome_sdk/models/contract.rb', line 272
optional :gcp_offer_id, String
|
#netsuite_reseller_id ⇒ String?
277
|
# File 'lib/metronome_sdk/models/contract.rb', line 277
optional :netsuite_reseller_id, String
|
#reseller_contract_value ⇒ Float?
282
|
# File 'lib/metronome_sdk/models/contract.rb', line 282
optional :reseller_contract_value, Float
|
237
|
# File 'lib/metronome_sdk/models/contract.rb', line 237
required :reseller_type, enum: -> { MetronomeSDK::Contract::Amendment::ResellerRoyalty::ResellerType }
|
#starting_at ⇒ Time?
287
|
# File 'lib/metronome_sdk/models/contract.rb', line 287
optional :starting_at, Time
|