|
53 | 53 | "PriceOverrideOverrideUnitWithPercentPriceDiscount", |
54 | 54 | "PriceOverrideOverrideGroupedAllocationPrice", |
55 | 55 | "PriceOverrideOverrideGroupedAllocationPriceDiscount", |
56 | | - "PriceOverrideOverrideGroupedWithProratedMinimumPrice", |
57 | | - "PriceOverrideOverrideGroupedWithProratedMinimumPriceDiscount", |
58 | 56 | "PriceOverrideOverrideBulkWithProrationPrice", |
59 | 57 | "PriceOverrideOverrideBulkWithProrationPriceDiscount", |
60 | 58 | ] |
@@ -1084,63 +1082,6 @@ class PriceOverrideOverrideGroupedAllocationPrice(TypedDict, total=False): |
1084 | 1082 | """The subscription's override minimum amount for the plan.""" |
1085 | 1083 |
|
1086 | 1084 |
|
1087 | | -class PriceOverrideOverrideGroupedWithProratedMinimumPriceDiscount(TypedDict, total=False): |
1088 | | - discount_type: Required[Literal["percentage", "trial", "usage", "amount"]] |
1089 | | - |
1090 | | - amount_discount: Optional[str] |
1091 | | - """Only available if discount_type is `amount`.""" |
1092 | | - |
1093 | | - applies_to_price_ids: Optional[List[str]] |
1094 | | - """List of price_ids that this discount applies to. |
1095 | | -
|
1096 | | - For plan/plan phase discounts, this can be a subset of prices. |
1097 | | - """ |
1098 | | - |
1099 | | - percentage_discount: Optional[float] |
1100 | | - """Only available if discount_type is `percentage`. |
1101 | | -
|
1102 | | - This is a number between 0 and 1. |
1103 | | - """ |
1104 | | - |
1105 | | - trial_amount_discount: Optional[str] |
1106 | | - """Only available if discount_type is `trial`""" |
1107 | | - |
1108 | | - usage_discount: Optional[float] |
1109 | | - """Only available if discount_type is `usage`. |
1110 | | -
|
1111 | | - Number of usage units that this discount is for |
1112 | | - """ |
1113 | | - |
1114 | | - |
1115 | | -class PriceOverrideOverrideGroupedWithProratedMinimumPrice(TypedDict, total=False): |
1116 | | - id: Required[str] |
1117 | | - |
1118 | | - grouped_with_prorated_minimum_config: Required[Dict[str, object]] |
1119 | | - |
1120 | | - model_type: Required[Literal["grouped_with_prorated_minimum"]] |
1121 | | - |
1122 | | - conversion_rate: Optional[float] |
1123 | | - """The per unit conversion rate of the price currency to the invoicing currency.""" |
1124 | | - |
1125 | | - currency: Optional[str] |
1126 | | - """The currency of the price. |
1127 | | -
|
1128 | | - If not provided, the currency of the plan will be used. |
1129 | | - """ |
1130 | | - |
1131 | | - discount: Optional[PriceOverrideOverrideGroupedWithProratedMinimumPriceDiscount] |
1132 | | - """The subscription's override discount for the plan.""" |
1133 | | - |
1134 | | - fixed_price_quantity: Optional[float] |
1135 | | - """The starting quantity of the price, if the price is a fixed price.""" |
1136 | | - |
1137 | | - maximum_amount: Optional[str] |
1138 | | - """The subscription's override maximum amount for the plan.""" |
1139 | | - |
1140 | | - minimum_amount: Optional[str] |
1141 | | - """The subscription's override minimum amount for the plan.""" |
1142 | | - |
1143 | | - |
1144 | 1085 | class PriceOverrideOverrideBulkWithProrationPriceDiscount(TypedDict, total=False): |
1145 | 1086 | discount_type: Required[Literal["percentage", "trial", "usage", "amount"]] |
1146 | 1087 |
|
@@ -1213,6 +1154,5 @@ class PriceOverrideOverrideBulkWithProrationPrice(TypedDict, total=False): |
1213 | 1154 | PriceOverrideOverridePackageWithAllocationPrice, |
1214 | 1155 | PriceOverrideOverrideUnitWithPercentPrice, |
1215 | 1156 | PriceOverrideOverrideGroupedAllocationPrice, |
1216 | | - PriceOverrideOverrideGroupedWithProratedMinimumPrice, |
1217 | 1157 | PriceOverrideOverrideBulkWithProrationPrice, |
1218 | 1158 | ] |
0 commit comments