Class: Orb::Models::Beta::ExternalPlanIDCreatePlanVersionParams::AddPrice::Price::GroupedTieredMatrix::GroupedTieredMatrixConfig::Tier
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Orb::Models::Beta::ExternalPlanIDCreatePlanVersionParams::AddPrice::Price::GroupedTieredMatrix::GroupedTieredMatrixConfig::Tier
- Defined in:
- lib/orb/models/beta/external_plan_id_create_plan_version_params.rb,
sig/orb/models/beta/external_plan_id_create_plan_version_params.rbs
Instance Attribute Summary collapse
-
#dimension_value ⇒ String
The dimension value this tier applies to.
- #tier_lower_bound ⇒ String
-
#unit_amount ⇒ String
Per unit amount.
Instance Method Summary collapse
-
#initialize(default_unit_amount:, dimension:, tiers:) ⇒ Object
constructor
Some parameter documentations has been truncated, see Orb::Models::Beta::ExternalPlanIDCreatePlanVersionParams::AddPrice::Price::GroupedTieredMatrix::GroupedTieredMatrixConfig for more details.
- #to_hash ⇒ {
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(default_unit_amount:, dimension:, tiers:) ⇒ Object
Some parameter documentations has been truncated, see Orb::Models::Beta::ExternalPlanIDCreatePlanVersionParams::AddPrice::Price::GroupedTieredMatrix::GroupedTieredMatrixConfig for more details.
Configuration for grouped_tiered_matrix pricing
1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 |
# File 'lib/orb/models/beta/external_plan_id_create_plan_version_params.rb', line 1227 class Tier < Orb::Internal::Type::BaseModel # @!attribute dimension_value # The dimension value this tier applies to # # @return [String] required :dimension_value, String # @!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(dimension_value:, tier_lower_bound:, unit_amount:) # Configuration for a single tier scoped to a dimension value # # @param dimension_value [String] The dimension value this tier applies to # # @param tier_lower_bound [String] # # @param unit_amount [String] Per unit amount end |
Instance Attribute Details
#dimension_value ⇒ String
The dimension value this tier applies to
1232 |
# File 'lib/orb/models/beta/external_plan_id_create_plan_version_params.rb', line 1232 required :dimension_value, String |
#tier_lower_bound ⇒ String
1237 |
# File 'lib/orb/models/beta/external_plan_id_create_plan_version_params.rb', line 1237 required :tier_lower_bound, String |
#unit_amount ⇒ String
Per unit amount
1243 |
# File 'lib/orb/models/beta/external_plan_id_create_plan_version_params.rb', line 1243 required :unit_amount, String |
Instance Method Details
#to_hash ⇒ {
866 |
# File 'sig/orb/models/beta/external_plan_id_create_plan_version_params.rbs', line 866
def to_hash: -> {
|