Delivery
data class Delivery(val restaurantId: RestaurantId, val customerId: CustomerId, val items: List<OrderItem>, val estimatedDeliveryTime: Long, val deliveryAddress: String, val bellName: String, val customerPhone: String) : PlaceOrderCommand
Represents a delivery order with specific fields for delivery details.
Constructors
Link copied to clipboard
constructor(restaurantId: RestaurantId, customerId: CustomerId, items: List<OrderItem>, estimatedDeliveryTime: Long, deliveryAddress: String, bellName: String, customerPhone: String)