UpdateDeliveryOrderCommand

data class UpdateDeliveryOrderCommand(val orderId: OrderId, val customerId: CustomerId, val estimatedDeliveryTime: Long, val deliveryAddress: String, val bellName: String, val customerPhone: String)

Command object for updating the details of a delivery order.

This command encapsulates all the necessary information required to update a delivery order, including the order ID, customer ID, estimated delivery time, delivery address, bell name, and customer phone number.

Constructors

Link copied to clipboard
constructor(orderId: OrderId, customerId: CustomerId, estimatedDeliveryTime: Long, deliveryAddress: String, bellName: String, customerPhone: String)

Properties

Link copied to clipboard

The new bell name associated with the delivery address.

Link copied to clipboard

The unique identifier of the customer associated with the order.

Link copied to clipboard

The new phone number of the customer for contact purposes.

Link copied to clipboard

The new delivery address for the order.

Link copied to clipboard

The new estimated delivery time for the order, represented as a timestamp in milliseconds.

Link copied to clipboard

The unique identifier of the order to be updated.