@@ -60,10 +60,12 @@ def create(
6060        currency : str ,
6161        name : str ,
6262        prices : Iterable [plan_create_params .Price ],
63+         adjustments : Optional [Iterable [plan_create_params .Adjustment ]] |  NotGiven  =  NOT_GIVEN ,
6364        default_invoice_memo : Optional [str ] |  NotGiven  =  NOT_GIVEN ,
6465        external_plan_id : Optional [str ] |  NotGiven  =  NOT_GIVEN ,
6566        metadata : Optional [Dict [str , Optional [str ]]] |  NotGiven  =  NOT_GIVEN ,
6667        net_terms : Optional [int ] |  NotGiven  =  NOT_GIVEN ,
68+         plan_phases : Optional [Iterable [plan_create_params .PlanPhase ]] |  NotGiven  =  NOT_GIVEN ,
6769        status : Literal ["active" , "draft" ] |  NotGiven  =  NOT_GIVEN ,
6870        # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. 
6971        # The extra values given here take precedence over values defined on the client or passed to this method. 
@@ -83,6 +85,9 @@ def create(
8385          prices: Prices for this plan. If the plan has phases, this includes prices across all 
8486              phases of the plan. 
8587
88+           adjustments: Adjustments for this plan. If the plan has phases, this includes adjustments 
89+               across all phases of the plan. 
90+ 
8691          default_invoice_memo: Free-form text which is available on the invoice PDF and the Orb invoice portal. 
8792
8893          metadata: User-specified key/value pairs for the resource. Individual keys can be removed 
@@ -93,6 +98,9 @@ def create(
9398              date for the invoice. If you intend the invoice to be due on issue, set this 
9499              to 0. 
95100
101+           plan_phases: Configuration of pre-defined phases, each with their own prices and adjustments. 
102+               Leave unspecified for plans with a single phase. 
103+ 
96104          status: The status of the plan to create (either active or draft). If not specified, 
97105              this defaults to active. 
98106
@@ -113,10 +121,12 @@ def create(
113121                    "currency" : currency ,
114122                    "name" : name ,
115123                    "prices" : prices ,
124+                     "adjustments" : adjustments ,
116125                    "default_invoice_memo" : default_invoice_memo ,
117126                    "external_plan_id" : external_plan_id ,
118127                    "metadata" : metadata ,
119128                    "net_terms" : net_terms ,
129+                     "plan_phases" : plan_phases ,
120130                    "status" : status ,
121131                },
122132                plan_create_params .PlanCreateParams ,
@@ -335,10 +345,12 @@ async def create(
335345        currency : str ,
336346        name : str ,
337347        prices : Iterable [plan_create_params .Price ],
348+         adjustments : Optional [Iterable [plan_create_params .Adjustment ]] |  NotGiven  =  NOT_GIVEN ,
338349        default_invoice_memo : Optional [str ] |  NotGiven  =  NOT_GIVEN ,
339350        external_plan_id : Optional [str ] |  NotGiven  =  NOT_GIVEN ,
340351        metadata : Optional [Dict [str , Optional [str ]]] |  NotGiven  =  NOT_GIVEN ,
341352        net_terms : Optional [int ] |  NotGiven  =  NOT_GIVEN ,
353+         plan_phases : Optional [Iterable [plan_create_params .PlanPhase ]] |  NotGiven  =  NOT_GIVEN ,
342354        status : Literal ["active" , "draft" ] |  NotGiven  =  NOT_GIVEN ,
343355        # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. 
344356        # The extra values given here take precedence over values defined on the client or passed to this method. 
@@ -358,6 +370,9 @@ async def create(
358370          prices: Prices for this plan. If the plan has phases, this includes prices across all 
359371              phases of the plan. 
360372
373+           adjustments: Adjustments for this plan. If the plan has phases, this includes adjustments 
374+               across all phases of the plan. 
375+ 
361376          default_invoice_memo: Free-form text which is available on the invoice PDF and the Orb invoice portal. 
362377
363378          metadata: User-specified key/value pairs for the resource. Individual keys can be removed 
@@ -368,6 +383,9 @@ async def create(
368383              date for the invoice. If you intend the invoice to be due on issue, set this 
369384              to 0. 
370385
386+           plan_phases: Configuration of pre-defined phases, each with their own prices and adjustments. 
387+               Leave unspecified for plans with a single phase. 
388+ 
371389          status: The status of the plan to create (either active or draft). If not specified, 
372390              this defaults to active. 
373391
@@ -388,10 +406,12 @@ async def create(
388406                    "currency" : currency ,
389407                    "name" : name ,
390408                    "prices" : prices ,
409+                     "adjustments" : adjustments ,
391410                    "default_invoice_memo" : default_invoice_memo ,
392411                    "external_plan_id" : external_plan_id ,
393412                    "metadata" : metadata ,
394413                    "net_terms" : net_terms ,
414+                     "plan_phases" : plan_phases ,
395415                    "status" : status ,
396416                },
397417                plan_create_params .PlanCreateParams ,
0 commit comments