Ticket

data class Ticket(val amount: BigDecimal, val parkingDuration: ParkingDuration)

Single parking ticket information.

Important: This is a Public Preview API. It may be changed or removed at any time.

Constructors

Link copied to clipboard
constructor(amount: BigDecimal, parkingDuration: ParkingDuration)

Properties

Link copied to clipboard

The price of the ticket.

Link copied to clipboard

A duration can either be explicit with a value and a time unit or fuzzy such as evening or flatRate.