Class: MetronomeSDK::Models::ContractWithoutAmendments::ResellerRoyalty

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/metronome_sdk/models/contract_without_amendments.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::ContractWithoutAmendments::ResellerRoyalty::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_without_amendments.rb', line 987


Instance Attribute Details

#applicable_product_idsArray<String>?

Returns:

  • (Array<String>, nil)


945
# File 'lib/metronome_sdk/models/contract_without_amendments.rb', line 945

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

#applicable_product_tagsArray<String>?

Returns:

  • (Array<String>, nil)


950
# File 'lib/metronome_sdk/models/contract_without_amendments.rb', line 950

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

#aws_account_numberString?

Returns:

  • (String, nil)


955
# File 'lib/metronome_sdk/models/contract_without_amendments.rb', line 955

optional :aws_account_number, String

#aws_offer_idString?

Returns:

  • (String, nil)


960
# File 'lib/metronome_sdk/models/contract_without_amendments.rb', line 960

optional :aws_offer_id, String

#aws_payer_reference_idString?

Returns:

  • (String, nil)


965
# File 'lib/metronome_sdk/models/contract_without_amendments.rb', line 965

optional :aws_payer_reference_id, String

#ending_beforeTime?

Returns:

  • (Time, nil)


970
# File 'lib/metronome_sdk/models/contract_without_amendments.rb', line 970

optional :ending_before, Time

#fractionFloat

Returns:

  • (Float)


924
# File 'lib/metronome_sdk/models/contract_without_amendments.rb', line 924

required :fraction, Float

#gcp_account_idString?

Returns:

  • (String, nil)


975
# File 'lib/metronome_sdk/models/contract_without_amendments.rb', line 975

optional :gcp_account_id, String

#gcp_offer_idString?

Returns:

  • (String, nil)


980
# File 'lib/metronome_sdk/models/contract_without_amendments.rb', line 980

optional :gcp_offer_id, String

#netsuite_reseller_idString

Returns:

  • (String)


929
# File 'lib/metronome_sdk/models/contract_without_amendments.rb', line 929

required :netsuite_reseller_id, String

#reseller_contract_valueFloat?

Returns:

  • (Float, nil)


985
# File 'lib/metronome_sdk/models/contract_without_amendments.rb', line 985

optional :reseller_contract_value, Float

#reseller_typeSymbol, MetronomeSDK::Models::ContractWithoutAmendments::ResellerRoyalty::ResellerType



934
935
# File 'lib/metronome_sdk/models/contract_without_amendments.rb', line 934

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

#starting_atTime

Returns:

  • (Time)


940
# File 'lib/metronome_sdk/models/contract_without_amendments.rb', line 940

required :starting_at, Time