TakeawayInfo

data class TakeawayInfo(val pickupTime: Long, val customerName: String)

Represents information about a takeaway order.

Constructors

Link copied to clipboard
constructor(pickupTime: Long, customerName: String)

Properties

Link copied to clipboard

The name of the customer picking up the order.

Link copied to clipboard

The time when the order is scheduled for pickup, in milliseconds since epoch.

Functions

Link copied to clipboard

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