@@ -34,18 +34,18 @@ class CreateTrackingRequest
3434 # language?: String;
3535 attr_accessor :language
3636
37- # The promised delivery date of the order. It uses the formats:- YYYY-MM-DD- YYYY-MM-DDTHH:mm:ss- YYYY-MM-DDTHH:mm:ssZ
38- # order_promised_delivery_date?: String ;
37+ # The promised delivery date of the order in shipment recipient’s timezone.
38+ # order_promised_delivery_date?: CreateTrackingRequestOrderPromisedDeliveryDate ;
3939 attr_accessor :order_promised_delivery_date
4040
41- # Shipment delivery type- pickup_at_store- pickup_at_courier- door_to_door
42- # delivery_type?: CreateTrackingRequestDeliveryType;
43- attr_accessor :delivery_type
44-
4541 # Shipment pickup location for receiver
4642 # pickup_location?: String;
4743 attr_accessor :pickup_location
4844
45+ # Shipment delivery type- pickup_at_store- pickup_at_courier- door_to_door
46+ # delivery_type?: CreateTrackingRequestDeliveryType;
47+ attr_accessor :delivery_type
48+
4949 # Shipment pickup note for receiver
5050 # pickup_note?: String;
5151 attr_accessor :pickup_note
@@ -193,14 +193,14 @@ def initialize(attributes = {})
193193 self . order_promised_delivery_date = attributes [ :'order_promised_delivery_date' ]
194194 end
195195
196- if attributes . key? ( :'delivery_type' )
197- self . delivery_type = attributes [ :'delivery_type' ]
198- end
199-
200196 if attributes . key? ( :'pickup_location' )
201197 self . pickup_location = attributes [ :'pickup_location' ]
202198 end
203199
200+ if attributes . key? ( :'delivery_type' )
201+ self . delivery_type = attributes [ :'delivery_type' ]
202+ end
203+
204204 if attributes . key? ( :'pickup_note' )
205205 self . pickup_note = attributes [ :'pickup_note' ]
206206 end
@@ -313,9 +313,9 @@ def self.openapi_types
313313 :'custom_fields' => :'Object' ,
314314 :'order_id_path' => :'String' ,
315315 :'language' => :'String' ,
316- :'order_promised_delivery_date' => :'String' ,
317- :'delivery_type' => :'CreateTrackingRequestDeliveryType' ,
316+ :'order_promised_delivery_date' => :'CreateTrackingRequestOrderPromisedDeliveryDate' ,
318317 :'pickup_location' => :'String' ,
318+ :'delivery_type' => :'CreateTrackingRequestDeliveryType' ,
319319 :'pickup_note' => :'String' ,
320320 :'tracking_account_number' => :'String' ,
321321 :'tracking_key' => :'String' ,
@@ -356,8 +356,8 @@ def self.attribute_map
356356 :'order_id_path' => :'order_id_path' ,
357357 :'language' => :'language' ,
358358 :'order_promised_delivery_date' => :'order_promised_delivery_date' ,
359- :'delivery_type' => :'delivery_type' ,
360359 :'pickup_location' => :'pickup_location' ,
360+ :'delivery_type' => :'delivery_type' ,
361361 :'pickup_note' => :'pickup_note' ,
362362 :'tracking_account_number' => :'tracking_account_number' ,
363363 :'tracking_key' => :'tracking_key' ,
0 commit comments