Class: MetronomeSDK::Models::V1::Customers::Invoice::ResellerRoyalty

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

Overview

See Also:

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/customers/invoice.rb', line 1293


Instance Attribute Details

#aws_optionsMetronomeSDK::Models::V1::Customers::Invoice::ResellerRoyalty::AwsOptions?



1286
# File 'lib/metronome_sdk/models/v1/customers/invoice.rb', line 1286

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

#fractionString

Returns:

  • (String)


1271
# File 'lib/metronome_sdk/models/v1/customers/invoice.rb', line 1271

required :fraction, String

#gcp_optionsMetronomeSDK::Models::V1::Customers::Invoice::ResellerRoyalty::GcpOptions?



1291
# File 'lib/metronome_sdk/models/v1/customers/invoice.rb', line 1291

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

#netsuite_reseller_idString

Returns:

  • (String)


1276
# File 'lib/metronome_sdk/models/v1/customers/invoice.rb', line 1276

required :netsuite_reseller_id, String

#reseller_typeSymbol, MetronomeSDK::Models::V1::Customers::Invoice::ResellerRoyalty::ResellerType



1281
# File 'lib/metronome_sdk/models/v1/customers/invoice.rb', line 1281

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

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/metronome_sdk/models/v1/customers/invoice.rb', line 1311