Class: MetronomeSDK::Models::V2::ContractGetEditHistoryResponse::Data::AddResellerRoyalty

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/metronome_sdk/models/v2/contract_get_edit_history_response.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(reseller_type: , applicable_product_ids: nil, applicable_product_tags: nil, aws_account_number: nil, aws_offer_id: nil, aws_payer_reference_id: nil, ending_before: nil, fraction: nil, gcp_account_id: nil, gcp_offer_id: nil, netsuite_reseller_id: nil, reseller_contract_value: nil, starting_at: nil) ⇒ Object

Parameters:

  • reseller_type (Symbol, MetronomeSDK::Models::V2::ContractGetEditHistoryResponse::Data::AddResellerRoyalty::ResellerType) (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, nil) (defaults to: nil)
  • fraction (Float) (defaults to: nil)
  • gcp_account_id (String) (defaults to: nil)
  • gcp_offer_id (String) (defaults to: nil)
  • netsuite_reseller_id (String) (defaults to: nil)
  • reseller_contract_value (Float) (defaults to: nil)
  • starting_at (Time) (defaults to: nil)


# File 'lib/metronome_sdk/models/v2/contract_get_edit_history_response.rb', line 1663


Instance Attribute Details

#applicable_product_idsArray<String>?

Returns:

  • (Array<String>, nil)


1606
# File 'lib/metronome_sdk/models/v2/contract_get_edit_history_response.rb', line 1606

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

#applicable_product_tagsArray<String>?

Returns:

  • (Array<String>, nil)


1611
# File 'lib/metronome_sdk/models/v2/contract_get_edit_history_response.rb', line 1611

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

#aws_account_numberString?

Returns:

  • (String, nil)


1616
# File 'lib/metronome_sdk/models/v2/contract_get_edit_history_response.rb', line 1616

optional :aws_account_number, String

#aws_offer_idString?

Returns:

  • (String, nil)


1621
# File 'lib/metronome_sdk/models/v2/contract_get_edit_history_response.rb', line 1621

optional :aws_offer_id, String

#aws_payer_reference_idString?

Returns:

  • (String, nil)


1626
# File 'lib/metronome_sdk/models/v2/contract_get_edit_history_response.rb', line 1626

optional :aws_payer_reference_id, String

#ending_beforeTime?

Returns:

  • (Time, nil)


1631
# File 'lib/metronome_sdk/models/v2/contract_get_edit_history_response.rb', line 1631

optional :ending_before, Time, nil?: true

#fractionFloat?

Returns:

  • (Float, nil)


1636
# File 'lib/metronome_sdk/models/v2/contract_get_edit_history_response.rb', line 1636

optional :fraction, Float

#gcp_account_idString?

Returns:

  • (String, nil)


1641
# File 'lib/metronome_sdk/models/v2/contract_get_edit_history_response.rb', line 1641

optional :gcp_account_id, String

#gcp_offer_idString?

Returns:

  • (String, nil)


1646
# File 'lib/metronome_sdk/models/v2/contract_get_edit_history_response.rb', line 1646

optional :gcp_offer_id, String

#netsuite_reseller_idString?

Returns:

  • (String, nil)


1651
# File 'lib/metronome_sdk/models/v2/contract_get_edit_history_response.rb', line 1651

optional :netsuite_reseller_id, String

#reseller_contract_valueFloat?

Returns:

  • (Float, nil)


1656
# File 'lib/metronome_sdk/models/v2/contract_get_edit_history_response.rb', line 1656

optional :reseller_contract_value, Float

#reseller_typeSymbol, MetronomeSDK::Models::V2::ContractGetEditHistoryResponse::Data::AddResellerRoyalty::ResellerType



1600
1601
# File 'lib/metronome_sdk/models/v2/contract_get_edit_history_response.rb', line 1600

required :reseller_type,
enum: -> { MetronomeSDK::Models::V2::ContractGetEditHistoryResponse::Data::AddResellerRoyalty::ResellerType }

#starting_atTime?

Returns:

  • (Time, nil)


1661
# File 'lib/metronome_sdk/models/v2/contract_get_edit_history_response.rb', line 1661

optional :starting_at, Time