UpdateTakeawayOrderRequest

@Serializable
@SerialName(value = "UpdateTakeawayOrderRequest")
data class UpdateTakeawayOrderRequest(val orderId: String, val customerId: String = "", val pickupTime: String, val customerName: String) : AuthenticatedRequest<UpdateTakeawayOrderRequest> , JsonEncodable

Request data class for updating a takeaway order.

Constructors

Link copied to clipboard
constructor(orderId: String, customerId: String = "", pickupTime: String, customerName: String)

Properties

Link copied to clipboard

The unique identifier of the customer associated with the order.

Link copied to clipboard

The updated name of the customer associated with the order.

Link copied to clipboard

The unique identifier of the order to be updated.

Link copied to clipboard

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

Functions

Link copied to clipboard
open override fun addId(userId: String): UpdateTakeawayOrderRequest
Link copied to clipboard
open override fun toJson(): String