FareCapping

data class FareCapping @ExperimentalMobilityDataApi constructor(val duration: WholeMinutes, val price: Decimal)(source)

A fare cap that applies once a price threshold has been spent within a timeframe.

GBFS 3.1-RC. The same cap applies to each subsequent timeframe.

Constructors

Link copied to clipboard
constructor(duration: WholeMinutes, price: Decimal)

Properties

Link copied to clipboard

Amount of time in minutes during which the fare is capped.

Link copied to clipboard

The maximum fare threshold for the current timeframe, in the unit specified by currency.