OrderAPI
The OrderAPI interface defines the contract for various order-related operations. It serves as a base interface for specific order-related APIs, each of which handles a different aspect of order management.
Types
The AdvanceOrderStatusAPI interface defines the contract for advancing the status of an order. It extends the OrderAPI interface and provides a method to advance the order status.
The DiscardOrderAPI interface defines the contract for discarding an order. It extends the OrderAPI interface and provides a method to discard an order.
The GetOrderDetailsAPI interface defines the contract for retrieving the details of an order. It extends the OrderAPI interface and provides a method to get order details.
The PlaceOrderAPI interface defines the contract for placing a new order. It extends the OrderAPI interface and provides a method to place an order.
The UpdateDeliveryOrderInfoAPI interface defines the contract for updating the delivery information of an order. It extends the OrderAPI interface and provides a method to update delivery order information.
The UpdateOrderItemsAPI interface defines the contract for updating the items of an order. It extends the OrderAPI interface and provides a method to update order items.
The UpdateTakeawayOrderInfoAPI interface defines the contract for updating the takeaway information of an order. It extends the OrderAPI interface and provides a method to update takeaway order information.