Class: MetronomeSDK::Models::V1::ContractCreateParams::ResellerRoyalty

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

Defined Under Namespace

Modules: ResellerType Classes: AwsOptions, GcpOptions

Instance Attribute Summary collapse

Class Method 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(aws_account_number: nil, aws_offer_id: nil, aws_payer_reference_id: nil) ⇒ Object

Parameters:

  • aws_account_number (String) (defaults to: nil)
  • aws_offer_id (String) (defaults to: nil)
  • aws_payer_reference_id (String) (defaults to: nil)


# File 'lib/metronome_sdk/models/v1/contract_create_params.rb', line 2703


Instance Attribute Details

#applicable_product_idsArray<String>?

Must provide at least one of applicable_product_ids or applicable_product_tags.

Returns:

  • (Array<String>, nil)


2675
# File 'lib/metronome_sdk/models/v1/contract_create_params.rb', line 2675

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

#applicable_product_tagsArray<String>?

Must provide at least one of applicable_product_ids or applicable_product_tags.

Returns:

  • (Array<String>, nil)


2681
# File 'lib/metronome_sdk/models/v1/contract_create_params.rb', line 2681

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

#aws_optionsMetronomeSDK::Models::V1::ContractCreateParams::ResellerRoyalty::AwsOptions?



2686
# File 'lib/metronome_sdk/models/v1/contract_create_params.rb', line 2686

optional :aws_options, -> { MetronomeSDK::V1::ContractCreateParams::ResellerRoyalty::AwsOptions }

#ending_beforeTime?

Returns:

  • (Time, nil)


2691
# File 'lib/metronome_sdk/models/v1/contract_create_params.rb', line 2691

optional :ending_before, Time

#fractionFloat

Returns:

  • (Float)


2653
# File 'lib/metronome_sdk/models/v1/contract_create_params.rb', line 2653

required :fraction, Float

#gcp_optionsMetronomeSDK::Models::V1::ContractCreateParams::ResellerRoyalty::GcpOptions?



2696
# File 'lib/metronome_sdk/models/v1/contract_create_params.rb', line 2696

optional :gcp_options, -> { MetronomeSDK::V1::ContractCreateParams::ResellerRoyalty::GcpOptions }

#netsuite_reseller_idString

Returns:

  • (String)


2658
# File 'lib/metronome_sdk/models/v1/contract_create_params.rb', line 2658

required :netsuite_reseller_id, String

#reseller_contract_valueFloat?

Returns:

  • (Float, nil)


2701
# File 'lib/metronome_sdk/models/v1/contract_create_params.rb', line 2701

optional :reseller_contract_value, Float

#reseller_typeSymbol, MetronomeSDK::Models::V1::ContractCreateParams::ResellerRoyalty::ResellerType



2663
2664
# File 'lib/metronome_sdk/models/v1/contract_create_params.rb', line 2663

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

#starting_atTime

Returns:

  • (Time)


2669
# File 'lib/metronome_sdk/models/v1/contract_create_params.rb', line 2669

required :starting_at, Time

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/metronome_sdk/models/v1/contract_create_params.rb', line 2733