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
-
#to_hash ⇒ {
==, #==, #[], 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
232
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
|
# File 'lib/metronome_sdk/models/contract.rb', line 232
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?
241
|
# File 'lib/metronome_sdk/models/contract.rb', line 241
optional :aws_account_number, String
|
#aws_offer_id ⇒ String?
246
|
# File 'lib/metronome_sdk/models/contract.rb', line 246
optional :aws_offer_id, String
|
#aws_payer_reference_id ⇒ String?
251
|
# File 'lib/metronome_sdk/models/contract.rb', line 251
optional :aws_payer_reference_id, String
|
#ending_before ⇒ Time?
256
|
# File 'lib/metronome_sdk/models/contract.rb', line 256
optional :ending_before, Time, nil?: true
|
#fraction ⇒ Float?
261
|
# File 'lib/metronome_sdk/models/contract.rb', line 261
optional :fraction, Float
|
#gcp_account_id ⇒ String?
266
|
# File 'lib/metronome_sdk/models/contract.rb', line 266
optional :gcp_account_id, String
|
#gcp_offer_id ⇒ String?
271
|
# File 'lib/metronome_sdk/models/contract.rb', line 271
optional :gcp_offer_id, String
|
#netsuite_reseller_id ⇒ String?
276
|
# File 'lib/metronome_sdk/models/contract.rb', line 276
optional :netsuite_reseller_id, String
|
#reseller_contract_value ⇒ Float?
281
|
# File 'lib/metronome_sdk/models/contract.rb', line 281
optional :reseller_contract_value, Float
|
236
|
# File 'lib/metronome_sdk/models/contract.rb', line 236
required :reseller_type, enum: -> { MetronomeSDK::Contract::Amendment::ResellerRoyalty::ResellerType }
|
#starting_at ⇒ Time?
286
|
# File 'lib/metronome_sdk/models/contract.rb', line 286
optional :starting_at, Time
|
Instance Method Details
#to_hash ⇒ {
287
|
# File 'sig/metronome_sdk/models/contract.rbs', line 287
def to_hash: -> {
|