Automatic Closure of Delivery Order upon Trip Completion

Tags: v8

Starting from API V8Preview3, upon trip completion (calling the method ChangeRideStatus with the status DeliveredFinish), the delivery associated with this trip is also closed.

The behavior of the method SetDeliveryDelivered has also been changed. Now, when this method is called, the current time is recorded in the actual delivery time ActualDeliverTime.

To change the ActualDeliverTime after calling SetDeliveryDelivered, you need to call the method ChangeDeliveryActualDeliverTime specifying the required delivery completion time.