@@ -1222,6 +1222,7 @@ def price_intervals(
12221222 add : Iterable [subscription_price_intervals_params .Add ] | Omit = omit ,
12231223 add_adjustments : Iterable [subscription_price_intervals_params .AddAdjustment ] | Omit = omit ,
12241224 allow_invoice_credit_or_void : Optional [bool ] | Omit = omit ,
1225+ can_defer_billing : Optional [bool ] | Omit = omit ,
12251226 edit : Iterable [subscription_price_intervals_params .Edit ] | Omit = omit ,
12261227 edit_adjustments : Iterable [subscription_price_intervals_params .EditAdjustment ] | Omit = omit ,
12271228 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
@@ -1315,6 +1316,10 @@ def price_intervals(
13151316 credit note. Consider using this as a safety mechanism if you do not expect
13161317 existing invoices to be changed.
13171318
1319+ can_defer_billing: If true, ending an in-arrears price interval mid-cycle will defer billing the
1320+ final line itemuntil the next scheduled invoice. If false, it will be billed on
1321+ its end date. If not provided, behaviorwill follow account default.
1322+
13181323 edit: A list of price intervals to edit on the subscription.
13191324
13201325 edit_adjustments: A list of adjustments to edit on the subscription.
@@ -1338,6 +1343,7 @@ def price_intervals(
13381343 "add" : add ,
13391344 "add_adjustments" : add_adjustments ,
13401345 "allow_invoice_credit_or_void" : allow_invoice_credit_or_void ,
1346+ "can_defer_billing" : can_defer_billing ,
13411347 "edit" : edit ,
13421348 "edit_adjustments" : edit_adjustments ,
13431349 },
@@ -3308,6 +3314,7 @@ async def price_intervals(
33083314 add : Iterable [subscription_price_intervals_params .Add ] | Omit = omit ,
33093315 add_adjustments : Iterable [subscription_price_intervals_params .AddAdjustment ] | Omit = omit ,
33103316 allow_invoice_credit_or_void : Optional [bool ] | Omit = omit ,
3317+ can_defer_billing : Optional [bool ] | Omit = omit ,
33113318 edit : Iterable [subscription_price_intervals_params .Edit ] | Omit = omit ,
33123319 edit_adjustments : Iterable [subscription_price_intervals_params .EditAdjustment ] | Omit = omit ,
33133320 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
@@ -3401,6 +3408,10 @@ async def price_intervals(
34013408 credit note. Consider using this as a safety mechanism if you do not expect
34023409 existing invoices to be changed.
34033410
3411+ can_defer_billing: If true, ending an in-arrears price interval mid-cycle will defer billing the
3412+ final line itemuntil the next scheduled invoice. If false, it will be billed on
3413+ its end date. If not provided, behaviorwill follow account default.
3414+
34043415 edit: A list of price intervals to edit on the subscription.
34053416
34063417 edit_adjustments: A list of adjustments to edit on the subscription.
@@ -3424,6 +3435,7 @@ async def price_intervals(
34243435 "add" : add ,
34253436 "add_adjustments" : add_adjustments ,
34263437 "allow_invoice_credit_or_void" : allow_invoice_credit_or_void ,
3438+ "can_defer_billing" : can_defer_billing ,
34273439 "edit" : edit ,
34283440 "edit_adjustments" : edit_adjustments ,
34293441 },
0 commit comments