Class: MetronomeSDK::Models::ContractV2::ResellerRoyalty::Segment

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/metronome_sdk/models/contract_v2.rb

Defined Under Namespace

Modules: ResellerType

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Internal::Type::BaseModel

==, #==, #[], 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

Methods included from Internal::Type::Converter

#coerce, coerce, #dump, dump, inspect, #inspect, meta_info, new_coerce_state, type_info

Methods included from Internal::Util::SorbetRuntimeSupport

#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

Parameters:

  • fraction (Float) (defaults to: )
  • netsuite_reseller_id (String) (defaults to: )
  • reseller_type (Symbol, MetronomeSDK::Models::ContractV2::ResellerRoyalty::Segment::ResellerType) (defaults to: )
  • starting_at (Time) (defaults to: )
  • applicable_product_ids (Array<String>) (defaults to: nil)
  • applicable_product_tags (Array<String>) (defaults to: nil)
  • aws_account_number (String) (defaults to: nil)
  • aws_offer_id (String) (defaults to: nil)
  • aws_payer_reference_id (String) (defaults to: nil)
  • ending_before (Time) (defaults to: nil)
  • gcp_account_id (String) (defaults to: nil)
  • gcp_offer_id (String) (defaults to: nil)
  • reseller_contract_value (Float) (defaults to: nil)


# File 'lib/metronome_sdk/models/contract_v2.rb', line 3141


Instance Attribute Details

#applicable_product_idsArray<String>?

Returns:

  • (Array<String>, nil)


3099
# File 'lib/metronome_sdk/models/contract_v2.rb', line 3099

optional :applicable_product_ids, MetronomeSDK::Internal::Type::ArrayOf[String]

#applicable_product_tagsArray<String>?

Returns:

  • (Array<String>, nil)


3104
# File 'lib/metronome_sdk/models/contract_v2.rb', line 3104

optional :applicable_product_tags, MetronomeSDK::Internal::Type::ArrayOf[String]

#aws_account_numberString?

Returns:

  • (String, nil)


3109
# File 'lib/metronome_sdk/models/contract_v2.rb', line 3109

optional :aws_account_number, String

#aws_offer_idString?

Returns:

  • (String, nil)


3114
# File 'lib/metronome_sdk/models/contract_v2.rb', line 3114

optional :aws_offer_id, String

#aws_payer_reference_idString?

Returns:

  • (String, nil)


3119
# File 'lib/metronome_sdk/models/contract_v2.rb', line 3119

optional :aws_payer_reference_id, String

#ending_beforeTime?

Returns:

  • (Time, nil)


3124
# File 'lib/metronome_sdk/models/contract_v2.rb', line 3124

optional :ending_before, Time

#fractionFloat

Returns:

  • (Float)


3079
# File 'lib/metronome_sdk/models/contract_v2.rb', line 3079

required :fraction, Float

#gcp_account_idString?

Returns:

  • (String, nil)


3129
# File 'lib/metronome_sdk/models/contract_v2.rb', line 3129

optional :gcp_account_id, String

#gcp_offer_idString?

Returns:

  • (String, nil)


3134
# File 'lib/metronome_sdk/models/contract_v2.rb', line 3134

optional :gcp_offer_id, String

#netsuite_reseller_idString

Returns:

  • (String)


3084
# File 'lib/metronome_sdk/models/contract_v2.rb', line 3084

required :netsuite_reseller_id, String

#reseller_contract_valueFloat?

Returns:

  • (Float, nil)


3139
# File 'lib/metronome_sdk/models/contract_v2.rb', line 3139

optional :reseller_contract_value, Float

#reseller_typeSymbol, MetronomeSDK::Models::ContractV2::ResellerRoyalty::Segment::ResellerType



3089
# File 'lib/metronome_sdk/models/contract_v2.rb', line 3089

required :reseller_type, enum: -> { MetronomeSDK::ContractV2::ResellerRoyalty::Segment::ResellerType }

#starting_atTime

Returns:

  • (Time)


3094
# File 'lib/metronome_sdk/models/contract_v2.rb', line 3094

required :starting_at, Time