DineIn

data class DineIn(val restaurantId: RestaurantId, val customerId: CustomerId, val items: List<OrderItem>, val tableNumber: Int, val numberOfGuests: Int) : PlaceOrderCommand

Represents a dine-in order with specific fields for table details.

Constructors

Link copied to clipboard
constructor(restaurantId: RestaurantId, customerId: CustomerId, items: List<OrderItem>, tableNumber: Int, numberOfGuests: Int)

Properties

Link copied to clipboard
open override val customerId: CustomerId
Link copied to clipboard
open override val items: List<OrderItem>
Link copied to clipboard
Link copied to clipboard
open override val restaurantId: RestaurantId
Link copied to clipboard