DeliveryInfo

data class DeliveryInfo(val estimatedDeliveryTime: Long, val deliveryAddress: String, val bellName: String, val customerPhone: String)

Represents the delivery information associated with a delivery order.

Constructors

Link copied to clipboard
constructor(estimatedDeliveryTime: Long, deliveryAddress: String, bellName: String, customerPhone: String)

Properties

Link copied to clipboard

The name on the doorbell for the delivery.

Link copied to clipboard

The phone number of the customer for contact during delivery.

Link copied to clipboard

The address where the order will be delivered.

Link copied to clipboard

The estimated delivery time in milliseconds since epoch.

Functions

Link copied to clipboard

Checks if the estimated delivery time is valid (i.e., in the future).