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
224
225
226
227
228
229
230
231
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
|
# File 'lib/metronome_sdk/models/contract.rb', line 224
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?
233
|
# File 'lib/metronome_sdk/models/contract.rb', line 233
optional :aws_account_number, String
|
#aws_offer_id ⇒ String?
238
|
# File 'lib/metronome_sdk/models/contract.rb', line 238
optional :aws_offer_id, String
|
#aws_payer_reference_id ⇒ String?
243
|
# File 'lib/metronome_sdk/models/contract.rb', line 243
optional :aws_payer_reference_id, String
|
#ending_before ⇒ Time?
248
|
# File 'lib/metronome_sdk/models/contract.rb', line 248
optional :ending_before, Time, nil?: true
|
#fraction ⇒ Float?
253
|
# File 'lib/metronome_sdk/models/contract.rb', line 253
optional :fraction, Float
|
#gcp_account_id ⇒ String?
258
|
# File 'lib/metronome_sdk/models/contract.rb', line 258
optional :gcp_account_id, String
|
#gcp_offer_id ⇒ String?
263
|
# File 'lib/metronome_sdk/models/contract.rb', line 263
optional :gcp_offer_id, String
|
#netsuite_reseller_id ⇒ String?
268
|
# File 'lib/metronome_sdk/models/contract.rb', line 268
optional :netsuite_reseller_id, String
|
#reseller_contract_value ⇒ Float?
273
|
# File 'lib/metronome_sdk/models/contract.rb', line 273
optional :reseller_contract_value, Float
|
228
|
# File 'lib/metronome_sdk/models/contract.rb', line 228
required :reseller_type, enum: -> { MetronomeSDK::Contract::Amendment::ResellerRoyalty::ResellerType }
|
#starting_at ⇒ Time?
278
|
# File 'lib/metronome_sdk/models/contract.rb', line 278
optional :starting_at, Time
|