Package-level declarations

Types

Link copied to clipboard

A FuzzyDuration is a period of time that is loosely defined. We refer to this as "fuzzy" because the general term used may have a similar meaning to many users, but there is not a specific definition (as in a time period from x hour to y hour).

Link copied to clipboard
data class ParkingDayRange(val from: DayOfWeek, val to: DayOfWeek)

The range of days when a certain parking rate applies.

Link copied to clipboard
data class ParkingDuration(val explicitDuration: Duration? = null, val fuzzyDuration: FuzzyDuration? = null)

Duration information for ParkingTicket. It can either be explicit with a value and a time unit or fuzzy such as evening or flatRate.

Link copied to clipboard
data class ParkingFee(val amount: BigDecimal, val currency: Currency)

Parking fee information for a reserved parking spot.

Link copied to clipboard
data class ParkingPaymentDetails(val type: PaymentType, val methods: List<PaymentMethod>)

Details of the payment procedure and timing for the parking. (For example, an indication that payment is required upfront.)

Link copied to clipboard
data class ParkingPrice(val startTime: Date, val duration: Duration, val fees: ParkingFee)

The fees for parking for a certain period of time in the parking place.

Link copied to clipboard
data class ParkingRate(val isFreeOutsideHours: Boolean, val currency: Currency, val rateDetails: List<ParkingRateDetails> = emptyList(), val additionalTaxRateInPercent: Double? = null, val classifier: ParkingRateClassifier? = null)

The corresponding duration of a single rate, and the hours when the rate applies. Support for unique combinations of rates and hours, such as rates that fluctuate during different hours of the day or different days of the week.

Link copied to clipboard
value class ParkingRateClassifier(classifier: Int)

The parking price classifier. Additional factors that may affect pricing.

Link copied to clipboard
data class ParkingRateDetails(val parkingPeriods: List<ParkingTimePeriod> = emptyList(), val offeredTickets: List<ParkingTicket> = emptyList())

Price details for a single parking service type.

Link copied to clipboard
data class ParkingTicket(val amount: BigDecimal, val parkingDuration: ParkingDuration)

Single parking ticket information.

Link copied to clipboard
data class ParkingTimePeriod(val days: ParkingDayRange, val times: ClosedRange<LocalTime>)

Days and hours when the ticket price applies.

Link copied to clipboard

The payment method which was used for a given parking payment.

Link copied to clipboard

The type of payment which was used for a given parking payment.