Class: Orb::Models::NewFloatingCumulativeGroupedBulkPrice::CumulativeGroupedBulkConfig

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/orb/models/new_floating_cumulative_grouped_bulk_price.rb,
sig/orb/models/new_floating_cumulative_grouped_bulk_price.rbs

Overview

See Also:

  • Orb::Models::NewFloatingCumulativeGroupedBulkPrice#cumulative_grouped_bulk_config

Defined Under Namespace

Classes: DimensionValue

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

#initializeObject



131
# File 'sig/orb/models/new_floating_cumulative_grouped_bulk_price.rbs', line 131

def initialize: (

Instance Attribute Details

#dimension_valuesArray<Orb::Models::NewFloatingCumulativeGroupedBulkPrice::CumulativeGroupedBulkConfig::DimensionValue>

Each tier lower bound must have the same group of values.

Parameters:

  • value (::Array[Orb::NewFloatingCumulativeGroupedBulkPrice::CumulativeGroupedBulkConfig::DimensionValue])

Returns:



185
186
# File 'lib/orb/models/new_floating_cumulative_grouped_bulk_price.rb', line 185

required :dimension_values,
-> { Orb::Internal::Type::ArrayOf[Orb::NewFloatingCumulativeGroupedBulkPrice::CumulativeGroupedBulkConfig::DimensionValue] }

#groupString

Parameters:

  • value (String)

Returns:

  • (String)


191
# File 'lib/orb/models/new_floating_cumulative_grouped_bulk_price.rb', line 191

required :group, String

Instance Method Details

#to_hash{

Returns:

  • ({)


136
# File 'sig/orb/models/new_floating_cumulative_grouped_bulk_price.rbs', line 136

def to_hash: -> {