Class: Orb::Models::Price::BulkWithProration::BulkWithProrationConfig

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

Overview

See Also:

  • Orb::Models::Price::BulkWithProration#bulk_with_proration_config

Defined Under Namespace

Classes: Tier

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



5591
# File 'sig/orb/models/price.rbs', line 5591

def initialize: (

Instance Attribute Details

#tiersArray<Orb::Models::Price::BulkWithProration::BulkWithProrationConfig::Tier>

Bulk tiers for rating based on total usage volume

Parameters:

  • value (::Array[Orb::Price::BulkWithProration::BulkWithProrationConfig::Tier])

Returns:



7507
7508
# File 'lib/orb/models/price.rb', line 7507

required :tiers,
-> { Orb::Internal::Type::ArrayOf[Orb::Price::BulkWithProration::BulkWithProrationConfig::Tier] }

Instance Method Details

#to_hash{

Returns:

  • ({)


5595
# File 'sig/orb/models/price.rbs', line 5595

def to_hash: -> {