How do you make a concept for a class called delivery that holds customer location, restaurant selected, delivery window, delivery drivers
We will identify the class:
which will be mentioned as per the below
Here, Delivery class contains the location, restorent_id, deliveryWindow, and deliveryDrivers.
For fetching the location of the delivery window, there is a function called getLocation().
For fetching the restorent id, there is function called restorentID().
For fetching the delivery window, there is function called getDeliveryWindow().
For fetching the delivery drivers, there is a function called getDeliveryDrivers().
Comments
Leave a comment