3232 "NewFloatingTieredPackagePrice" ,
3333 "NewFloatingTieredWithMinimumPrice" ,
3434 "NewFloatingPackageWithAllocationPrice" ,
35+ "NewFloatingTieredPackageWithMinimumPrice" ,
36+ "NewFloatingUnitWithPercentPrice" ,
3537]
3638
3739
@@ -669,6 +671,90 @@ class NewFloatingPackageWithAllocationPrice(TypedDict, total=False):
669671 """The property used to group this price on an invoice"""
670672
671673
674+ class NewFloatingTieredPackageWithMinimumPrice (TypedDict , total = False ):
675+ cadence : Required [Literal ["annual" , "monthly" , "quarterly" , "one_time" ]]
676+ """The cadence to bill for this price on."""
677+
678+ currency : Required [str ]
679+ """An ISO 4217 currency string for which this price is billed in."""
680+
681+ item_id : Required [str ]
682+ """The id of the item the plan will be associated with."""
683+
684+ model_type : Required [Literal ["tiered_package_with_minimum" ]]
685+
686+ name : Required [str ]
687+ """The name of the price."""
688+
689+ tiered_package_with_minimum_config : Required [Dict [str , object ]]
690+
691+ billable_metric_id : Optional [str ]
692+ """The id of the billable metric for the price.
693+
694+ Only needed if the price is usage-based.
695+ """
696+
697+ billed_in_advance : Optional [bool ]
698+ """
699+ If the Price represents a fixed cost, the price will be billed in-advance if
700+ this is true, and in-arrears if this is false.
701+ """
702+
703+ external_price_id : Optional [str ]
704+ """An alias for the price."""
705+
706+ fixed_price_quantity : Optional [float ]
707+ """
708+ If the Price represents a fixed cost, this represents the quantity of units
709+ applied.
710+ """
711+
712+ invoice_grouping_key : Optional [str ]
713+ """The property used to group this price on an invoice"""
714+
715+
716+ class NewFloatingUnitWithPercentPrice (TypedDict , total = False ):
717+ cadence : Required [Literal ["annual" , "monthly" , "quarterly" , "one_time" ]]
718+ """The cadence to bill for this price on."""
719+
720+ currency : Required [str ]
721+ """An ISO 4217 currency string for which this price is billed in."""
722+
723+ item_id : Required [str ]
724+ """The id of the item the plan will be associated with."""
725+
726+ model_type : Required [Literal ["unit_with_percent" ]]
727+
728+ name : Required [str ]
729+ """The name of the price."""
730+
731+ unit_with_percent_config : Required [Dict [str , object ]]
732+
733+ billable_metric_id : Optional [str ]
734+ """The id of the billable metric for the price.
735+
736+ Only needed if the price is usage-based.
737+ """
738+
739+ billed_in_advance : Optional [bool ]
740+ """
741+ If the Price represents a fixed cost, the price will be billed in-advance if
742+ this is true, and in-arrears if this is false.
743+ """
744+
745+ external_price_id : Optional [str ]
746+ """An alias for the price."""
747+
748+ fixed_price_quantity : Optional [float ]
749+ """
750+ If the Price represents a fixed cost, this represents the quantity of units
751+ applied.
752+ """
753+
754+ invoice_grouping_key : Optional [str ]
755+ """The property used to group this price on an invoice"""
756+
757+
672758PriceCreateParams = Union [
673759 NewFloatingUnitPrice ,
674760 NewFloatingPackagePrice ,
@@ -682,4 +768,6 @@ class NewFloatingPackageWithAllocationPrice(TypedDict, total=False):
682768 NewFloatingTieredPackagePrice ,
683769 NewFloatingTieredWithMinimumPrice ,
684770 NewFloatingPackageWithAllocationPrice ,
771+ NewFloatingTieredPackageWithMinimumPrice ,
772+ NewFloatingUnitWithPercentPrice ,
685773]
0 commit comments