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 1170
|
Instance Attribute Details
#applicable_product_ids ⇒ Array<String>?
1128
|
# File 'lib/metronome_sdk/models/contract_without_amendments.rb', line 1128
optional :applicable_product_ids, MetronomeSDK::Internal::Type::ArrayOf[String]
|
1133
|
# File 'lib/metronome_sdk/models/contract_without_amendments.rb', line 1133
optional :applicable_product_tags, MetronomeSDK::Internal::Type::ArrayOf[String]
|
#aws_account_number ⇒ String?
1138
|
# File 'lib/metronome_sdk/models/contract_without_amendments.rb', line 1138
optional :aws_account_number, String
|
#aws_offer_id ⇒ String?
1143
|
# File 'lib/metronome_sdk/models/contract_without_amendments.rb', line 1143
optional :aws_offer_id, String
|
#aws_payer_reference_id ⇒ String?
1148
|
# File 'lib/metronome_sdk/models/contract_without_amendments.rb', line 1148
optional :aws_payer_reference_id, String
|
#ending_before ⇒ Time?
1153
|
# File 'lib/metronome_sdk/models/contract_without_amendments.rb', line 1153
optional :ending_before, Time
|
#fraction ⇒ Float
1107
|
# File 'lib/metronome_sdk/models/contract_without_amendments.rb', line 1107
required :fraction, Float
|
#gcp_account_id ⇒ String?
1158
|
# File 'lib/metronome_sdk/models/contract_without_amendments.rb', line 1158
optional :gcp_account_id, String
|
#gcp_offer_id ⇒ String?
1163
|
# File 'lib/metronome_sdk/models/contract_without_amendments.rb', line 1163
optional :gcp_offer_id, String
|
#netsuite_reseller_id ⇒ String
1112
|
# File 'lib/metronome_sdk/models/contract_without_amendments.rb', line 1112
required :netsuite_reseller_id, String
|
#reseller_contract_value ⇒ Float?
1168
|
# File 'lib/metronome_sdk/models/contract_without_amendments.rb', line 1168
optional :reseller_contract_value, Float
|
1117
1118
|
# File 'lib/metronome_sdk/models/contract_without_amendments.rb', line 1117
required :reseller_type,
enum: -> { MetronomeSDK::ContractWithoutAmendments::ResellerRoyalty::ResellerType }
|
#starting_at ⇒ Time
1123
|
# File 'lib/metronome_sdk/models/contract_without_amendments.rb', line 1123
required :starting_at, Time
|
Instance Method Details
#to_hash ⇒ {
1101
|
# File 'sig/metronome_sdk/models/contract_without_amendments.rbs', line 1101
def to_hash: -> {
|