@@ -51,6 +51,7 @@ class OrdersApi(object):
5151 "aircraft_code" ,
5252 "cabin_class" ,
5353 "passenger_count" ,
54+ "state" ,
5455 ]
5556
5657 def __init__ (self , api_client = None ):
@@ -136,6 +137,7 @@ def cancel_order_with_http_info(self, id, **kwargs): # noqa: E501
136137 all_params .append ("aircraft_code" )
137138 all_params .append ("cabin_class" )
138139 all_params .append ("passenger_count" )
140+ all_params .append ("state" )
139141
140142 for key , val in six .iteritems (local_var_params ["kwargs" ]):
141143 if key not in all_params :
@@ -205,7 +207,7 @@ def cancel_order_with_http_info(self, id, **kwargs): # noqa: E501
205207 def create_order (self , create_order_request = {}, ** kwargs ): # noqa: E501
206208 """Creates an order # noqa: E501
207209
208- Creates an order in the `placed` state. To create a `draft` order, create an estimate first . # noqa: E501
210+ Creates an order in the `placed` or `draft` state . # noqa: E501
209211 This method makes a synchronous HTTP request by default. To make an
210212 asynchronous HTTP request, please pass async_req=True
211213 >>> thread = api.create_order(create_order_request, async_req=True)
@@ -232,7 +234,7 @@ def create_order(self, create_order_request={}, **kwargs): # noqa: E501
232234 def create_order_with_http_info (self , create_order_request , ** kwargs ): # noqa: E501
233235 """Creates an order # noqa: E501
234236
235- Creates an order in the `placed` state. To create a `draft` order, create an estimate first . # noqa: E501
237+ Creates an order in the `placed` or `draft` state . # noqa: E501
236238 This method makes a synchronous HTTP request by default. To make an
237239 asynchronous HTTP request, please pass async_req=True
238240 >>> thread = api.create_order_with_http_info(create_order_request, async_req=True)
@@ -284,6 +286,7 @@ def create_order_with_http_info(self, create_order_request, **kwargs): # noqa:
284286 all_params .append ("aircraft_code" )
285287 all_params .append ("cabin_class" )
286288 all_params .append ("passenger_count" )
289+ all_params .append ("state" )
287290
288291 for key , val in six .iteritems (local_var_params ["kwargs" ]):
289292 if key not in all_params :
@@ -440,6 +443,7 @@ def place_order_with_http_info(self, id, **kwargs): # noqa: E501
440443 all_params .append ("aircraft_code" )
441444 all_params .append ("cabin_class" )
442445 all_params .append ("passenger_count" )
446+ all_params .append ("state" )
443447
444448 for key , val in six .iteritems (local_var_params ["kwargs" ]):
445449 if key not in all_params :
@@ -586,6 +590,7 @@ def retrieve_order_with_http_info(self, id, **kwargs): # noqa: E501
586590 all_params .append ("aircraft_code" )
587591 all_params .append ("cabin_class" )
588592 all_params .append ("passenger_count" )
593+ all_params .append ("state" )
589594
590595 for key , val in six .iteritems (local_var_params ["kwargs" ]):
591596 if key not in all_params :
@@ -743,6 +748,7 @@ def retrieve_orders_with_http_info(self, **kwargs): # noqa: E501
743748 all_params .append ("aircraft_code" )
744749 all_params .append ("cabin_class" )
745750 all_params .append ("passenger_count" )
751+ all_params .append ("state" )
746752
747753 for key , val in six .iteritems (local_var_params ["kwargs" ]):
748754 if key not in all_params :
0 commit comments