@@ -422,6 +422,15 @@ class AddPrice < Orb::Internal::Type::BaseModel
422422 # @return [String, nil]
423423 optional :maximum_amount , String , nil? : true
424424
425+ # @!attribute metric_parameter_overrides
426+ # Override values for parameterized billable metric variables. Keys are parameter
427+ # names, values are the override values.
428+ #
429+ # @return [Hash{Symbol=>Object}, nil]
430+ optional :metric_parameter_overrides ,
431+ Orb ::Internal ::Type ::HashOf [ Orb ::Internal ::Type ::Unknown ] ,
432+ nil? : true
433+
425434 # @!attribute minimum_amount
426435 # @deprecated
427436 #
@@ -457,7 +466,7 @@ class AddPrice < Orb::Internal::Type::BaseModel
457466 # @return [Time, nil]
458467 optional :start_date , Time , nil? : true
459468
460- # @!method initialize(allocation_price: nil, discounts: nil, end_date: nil, external_price_id: nil, maximum_amount: nil, minimum_amount: nil, plan_phase_order: nil, price: nil, price_id: nil, start_date: nil)
469+ # @!method initialize(allocation_price: nil, discounts: nil, end_date: nil, external_price_id: nil, maximum_amount: nil, metric_parameter_overrides: nil, minimum_amount: nil, plan_phase_order: nil, price: nil, price_id: nil, start_date: nil)
461470 # Some parameter documentations has been truncated, see
462471 # {Orb::Models::SubscriptionCreateParams::AddPrice} for more details.
463472 #
@@ -471,6 +480,8 @@ class AddPrice < Orb::Internal::Type::BaseModel
471480 #
472481 # @param maximum_amount [String, nil] [DEPRECATED] Use add_adjustments instead. The subscription's maximum amount for
473482 #
483+ # @param metric_parameter_overrides [Hash{Symbol=>Object}, nil] Override values for parameterized billable metric variables. Keys are parameter
484+ #
474485 # @param minimum_amount [String, nil] [DEPRECATED] Use add_adjustments instead. The subscription's minimum amount for
475486 #
476487 # @param plan_phase_order [Integer, nil] The phase to add this price to.
@@ -2085,6 +2096,15 @@ class ReplacePrice < Orb::Internal::Type::BaseModel
20852096 # @return [String, nil]
20862097 optional :maximum_amount , String , nil? : true
20872098
2099+ # @!attribute metric_parameter_overrides
2100+ # Override values for parameterized billable metric variables. Keys are parameter
2101+ # names, values are the override values.
2102+ #
2103+ # @return [Hash{Symbol=>Object}, nil]
2104+ optional :metric_parameter_overrides ,
2105+ Orb ::Internal ::Type ::HashOf [ Orb ::Internal ::Type ::Unknown ] ,
2106+ nil? : true
2107+
20882108 # @!attribute minimum_amount
20892109 # @deprecated
20902110 #
@@ -2106,7 +2126,7 @@ class ReplacePrice < Orb::Internal::Type::BaseModel
21062126 # @return [String, nil]
21072127 optional :price_id , String , nil? : true
21082128
2109- # @!method initialize(replaces_price_id:, allocation_price: nil, discounts: nil, external_price_id: nil, fixed_price_quantity: nil, maximum_amount: nil, minimum_amount: nil, price: nil, price_id: nil)
2129+ # @!method initialize(replaces_price_id:, allocation_price: nil, discounts: nil, external_price_id: nil, fixed_price_quantity: nil, maximum_amount: nil, metric_parameter_overrides: nil, minimum_amount: nil, price: nil, price_id: nil)
21102130 # Some parameter documentations has been truncated, see
21112131 # {Orb::Models::SubscriptionCreateParams::ReplacePrice} for more details.
21122132 #
@@ -2122,6 +2142,8 @@ class ReplacePrice < Orb::Internal::Type::BaseModel
21222142 #
21232143 # @param maximum_amount [String, nil] [DEPRECATED] Use add_adjustments instead. The subscription's maximum amount for
21242144 #
2145+ # @param metric_parameter_overrides [Hash{Symbol=>Object}, nil] Override values for parameterized billable metric variables. Keys are parameter
2146+ #
21252147 # @param minimum_amount [String, nil] [DEPRECATED] Use add_adjustments instead. The subscription's minimum amount for
21262148 #
21272149 # @param price [Orb::Models::NewSubscriptionUnitPrice, Orb::Models::NewSubscriptionTieredPrice, Orb::Models::NewSubscriptionBulkPrice, Orb::Models::SubscriptionCreateParams::ReplacePrice::Price::BulkWithFilters, Orb::Models::NewSubscriptionPackagePrice, Orb::Models::NewSubscriptionMatrixPrice, Orb::Models::NewSubscriptionThresholdTotalAmountPrice, Orb::Models::NewSubscriptionTieredPackagePrice, Orb::Models::NewSubscriptionTieredWithMinimumPrice, Orb::Models::NewSubscriptionGroupedTieredPrice, Orb::Models::NewSubscriptionTieredPackageWithMinimumPrice, Orb::Models::NewSubscriptionPackageWithAllocationPrice, Orb::Models::NewSubscriptionUnitWithPercentPrice, Orb::Models::NewSubscriptionMatrixWithAllocationPrice, Orb::Models::SubscriptionCreateParams::ReplacePrice::Price::TieredWithProration, Orb::Models::NewSubscriptionUnitWithProrationPrice, Orb::Models::NewSubscriptionGroupedAllocationPrice, Orb::Models::NewSubscriptionBulkWithProrationPrice, Orb::Models::NewSubscriptionGroupedWithProratedMinimumPrice, Orb::Models::NewSubscriptionGroupedWithMeteredMinimumPrice, Orb::Models::SubscriptionCreateParams::ReplacePrice::Price::GroupedWithMinMaxThresholds, Orb::Models::NewSubscriptionMatrixWithDisplayNamePrice, Orb::Models::NewSubscriptionGroupedTieredPackagePrice, Orb::Models::NewSubscriptionMaxGroupTieredPackagePrice, Orb::Models::NewSubscriptionScalableMatrixWithUnitPricingPrice, Orb::Models::NewSubscriptionScalableMatrixWithTieredPricingPrice, Orb::Models::NewSubscriptionCumulativeGroupedBulkPrice, Orb::Models::SubscriptionCreateParams::ReplacePrice::Price::CumulativeGroupedAllocation, Orb::Models::NewSubscriptionMinimumCompositePrice, Orb::Models::SubscriptionCreateParams::ReplacePrice::Price::Percent, Orb::Models::SubscriptionCreateParams::ReplacePrice::Price::EventOutput, nil] New subscription price request body params.
0 commit comments