updateInfo

fun updateInfo(pickupTime: Long, customerName: String): TakeawayOrder.UpdateResult

Updates the takeaway information of the order.

Return

An UpdateResult indicating success or failure of the update operation.

Parameters

pickupTime

The new pickup time in milliseconds since epoch.

customerName

The new name of the customer picking up the order.