UpdateOrderItemsCommand

data class UpdateOrderItemsCommand(val orderId: OrderId, val customerId: CustomerId, val items: List<OrderItem>)

Command to update the items of an existing order.

Constructors

Link copied to clipboard
constructor(orderId: OrderId, customerId: CustomerId, items: List<OrderItem>)

Properties

Link copied to clipboard

The unique identifier of the customer who placed the order.

Link copied to clipboard

The new list of items to be associated with the order.

Link copied to clipboard

The unique identifier of the order to be updated.