Class: Orb::Models::Price::MaxGroupTieredPackage::MaxGroupTieredPackageConfig::Tier
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Orb::Models::Price::MaxGroupTieredPackage::MaxGroupTieredPackageConfig::Tier
- Defined in:
- lib/orb/models/price.rb,
sig/orb/models/price.rbs
Instance Attribute Summary collapse
- #tier_lower_bound ⇒ String
-
#unit_amount ⇒ String
Per unit amount.
Instance Method Summary collapse
-
#initialize(grouping_key:, package_size:, tiers:) ⇒ Object
constructor
Some parameter documentations has been truncated, see Orb::Models::Price::MaxGroupTieredPackage::MaxGroupTieredPackageConfig for more details.
- #to_hash ⇒ { tier_lower_bound: String, unit_amount: String }
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(grouping_key:, package_size:, tiers:) ⇒ Object
Some parameter documentations has been truncated, see Orb::Models::Price::MaxGroupTieredPackage::MaxGroupTieredPackageConfig for more details.
Configuration for max_group_tiered_package pricing
11005 11006 11007 11008 11009 11010 11011 11012 11013 11014 11015 11016 11017 11018 11019 11020 11021 11022 11023 |
# File 'lib/orb/models/price.rb', line 11005 class Tier < Orb::Internal::Type::BaseModel # @!attribute tier_lower_bound # # @return [String] required :tier_lower_bound, String # @!attribute unit_amount # Per unit amount # # @return [String] required :unit_amount, String # @!method initialize(tier_lower_bound:, unit_amount:) # Configuration for a single tier # # @param tier_lower_bound [String] # # @param unit_amount [String] Per unit amount end |
Instance Attribute Details
#tier_lower_bound ⇒ String
11009 |
# File 'lib/orb/models/price.rb', line 11009 required :tier_lower_bound, String |
#unit_amount ⇒ String
Per unit amount
11015 |
# File 'lib/orb/models/price.rb', line 11015 required :unit_amount, String |
Instance Method Details
#to_hash ⇒ { tier_lower_bound: String, unit_amount: String }
8226 |
# File 'sig/orb/models/price.rbs', line 8226
def to_hash: -> { tier_lower_bound: String, unit_amount: String }
|