Package-level declarations
Types
Link copied to clipboard
Represents the unique identifier for a customer.
Link copied to clipboard
data class DeliveryInfo(val estimatedDeliveryTime: Long, val deliveryAddress: String, val bellName: String, val customerPhone: String)
Represents the delivery information associated with a delivery order.
Link copied to clipboard
data class DeliveryOrder(val id: OrderId, val restaurantId: RestaurantId, val customerId: CustomerId, val status: OrderStatus, val items: List<OrderItem>, val deliveryInfo: DeliveryInfo) : Order
Represents a delivery order in the system.
Link copied to clipboard
data class DineInOrder(val id: OrderId, val restaurantId: RestaurantId, val customerId: CustomerId, val status: OrderStatus, val items: List<OrderItem>, val tableInfo: TableInfo) : Order
Represents a dine-in order in the system.
Link copied to clipboard
Represents the unique identifier for a menu item.
Link copied to clipboard
Represents the unique identifier for an Order entity.
Link copied to clipboard
Represents an item in an order, consisting of a menu item ID and the quantity ordered.
Link copied to clipboard
Represents the status of an order in the system.
Link copied to clipboard
Represents the unique identifier for an order.
Link copied to clipboard
Represents information about a takeaway order.
Link copied to clipboard
data class TakeawayOrder(val id: OrderId, val restaurantId: RestaurantId, val customerId: CustomerId, val status: OrderStatus, val items: List<OrderItem>, val takeawayInfo: TakeawayInfo) : Order
Represents a takeaway order in the system.