GetOrdersCommand

data class GetOrdersCommand(val restaurantId: RestaurantId?, val customerId: CustomerId?, val orderStatus: OrderStatus?)

Command for retrieving orders based on specific criteria.

Constructors

Link copied to clipboard
constructor(restaurantId: RestaurantId?, customerId: CustomerId?, orderStatus: OrderStatus?)

Properties

Link copied to clipboard

The ID of the customer to filter orders by (optional).

Link copied to clipboard

The status of the orders to filter by (optional).

Link copied to clipboard

The ID of the restaurant to filter orders by (optional).