UpdateTakeawayOrderCommand

data class UpdateTakeawayOrderCommand(val orderId: OrderId, val customerId: CustomerId, val pickupTime: Long, val customerName: String)

Command to update an existing takeaway order.

This command contains the necessary information to identify the order and update its details, such as the pickup time and customer name.

Constructors

Link copied to clipboard
constructor(orderId: OrderId, customerId: CustomerId, pickupTime: Long, customerName: String)

Properties

Link copied to clipboard

The unique identifier of the customer associated with the order.

Link copied to clipboard

The new name of the customer for the takeaway order.

Link copied to clipboard

The unique identifier of the order to be updated.

Link copied to clipboard

The new pickup time for the takeaway order, represented as a timestamp in milliseconds.