UpdateDeliveryOrderRequest

@Serializable
@SerialName(value = "UpdateDeliveryOrderRequest")
data class UpdateDeliveryOrderRequest(val orderId: String, val customerId: String = "", val estimatedDeliveryTime: String, val deliveryAddress: String, val bellName: String, val customerPhone: String) : AuthenticatedRequest<UpdateDeliveryOrderRequest> , JsonEncodable

Request data class for updating the details of a delivery order.

Constructors

Link copied to clipboard
constructor(orderId: String, customerId: String = "", estimatedDeliveryTime: String, deliveryAddress: String, bellName: String, customerPhone: String)

Properties

Link copied to clipboard

The updated name on the doorbell for the delivery.

Link copied to clipboard

The unique identifier of the customer associated with the order.

Link copied to clipboard

The updated phone number of the customer for the delivery.

Link copied to clipboard

The updated delivery address for the order.

Link copied to clipboard

The updated estimated delivery time for the order.

Link copied to clipboard

The unique identifier of the order to be updated.

Functions

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