Class: MetronomeSDK::Models::ContractWithoutAmendments::ResellerRoyalty
- Inherits:
-
Internal::Type::BaseModel
show all
- Defined in:
- lib/metronome_sdk/models/contract_without_amendments.rb,
sig/metronome_sdk/models/contract_without_amendments.rbs
Defined Under Namespace
Modules: ResellerType
Instance Attribute Summary collapse
Instance Method Summary
collapse
-
#initialize(fraction:, netsuite_reseller_id:, reseller_type:, starting_at:, applicable_product_ids: nil, applicable_product_tags: nil, aws_account_number: nil, aws_offer_id: nil, aws_payer_reference_id: nil, ending_before: nil, gcp_account_id: nil, gcp_offer_id: nil, reseller_contract_value: 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(fraction:, netsuite_reseller_id:, reseller_type:, starting_at:, applicable_product_ids: nil, applicable_product_tags: nil, aws_account_number: nil, aws_offer_id: nil, aws_payer_reference_id: nil, ending_before: nil, gcp_account_id: nil, gcp_offer_id: nil, reseller_contract_value: nil) ⇒ Object
|
# File 'lib/metronome_sdk/models/contract_without_amendments.rb', line 1173
|
Instance Attribute Details
#applicable_product_ids ⇒ Array<String>?
1131
|
# File 'lib/metronome_sdk/models/contract_without_amendments.rb', line 1131
optional :applicable_product_ids, MetronomeSDK::Internal::Type::ArrayOf[String]
|
1136
|
# File 'lib/metronome_sdk/models/contract_without_amendments.rb', line 1136
optional :applicable_product_tags, MetronomeSDK::Internal::Type::ArrayOf[String]
|
#aws_account_number ⇒ String?
1141
|
# File 'lib/metronome_sdk/models/contract_without_amendments.rb', line 1141
optional :aws_account_number, String
|
#aws_offer_id ⇒ String?
1146
|
# File 'lib/metronome_sdk/models/contract_without_amendments.rb', line 1146
optional :aws_offer_id, String
|
#aws_payer_reference_id ⇒ String?
1151
|
# File 'lib/metronome_sdk/models/contract_without_amendments.rb', line 1151
optional :aws_payer_reference_id, String
|
#ending_before ⇒ Time?
1156
|
# File 'lib/metronome_sdk/models/contract_without_amendments.rb', line 1156
optional :ending_before, Time
|
#fraction ⇒ Float
1110
|
# File 'lib/metronome_sdk/models/contract_without_amendments.rb', line 1110
required :fraction, Float
|
#gcp_account_id ⇒ String?
1161
|
# File 'lib/metronome_sdk/models/contract_without_amendments.rb', line 1161
optional :gcp_account_id, String
|
#gcp_offer_id ⇒ String?
1166
|
# File 'lib/metronome_sdk/models/contract_without_amendments.rb', line 1166
optional :gcp_offer_id, String
|
#netsuite_reseller_id ⇒ String
1115
|
# File 'lib/metronome_sdk/models/contract_without_amendments.rb', line 1115
required :netsuite_reseller_id, String
|
#reseller_contract_value ⇒ Float?
1171
|
# File 'lib/metronome_sdk/models/contract_without_amendments.rb', line 1171
optional :reseller_contract_value, Float
|
1120
1121
|
# File 'lib/metronome_sdk/models/contract_without_amendments.rb', line 1120
required :reseller_type,
enum: -> { MetronomeSDK::ContractWithoutAmendments::ResellerRoyalty::ResellerType }
|
#starting_at ⇒ Time
1126
|
# File 'lib/metronome_sdk/models/contract_without_amendments.rb', line 1126
required :starting_at, Time
|
Instance Method Details
#to_hash ⇒ {
1100
|
# File 'sig/metronome_sdk/models/contract_without_amendments.rbs', line 1100
def to_hash: -> {
|