createDineIn
fun createDineIn(id: OrderId, restaurantId: RestaurantId, customerId: CustomerId, items: List<OrderItem>, info: TableInfo): OrderCreationResult
Creates a DineIn order with the specified parameters.
Return
An OrderCreationResult indicating success or failure of the order creation.
Parameters
id
The unique identifier for the order.
restaurantId
The unique identifier for the restaurant.
customerId
The unique identifier for the customer.
items
The list of order items.
info
The table information.