FareEntry

data class FareEntry(val interval: Double? = null, val start: Int? = null, val end: Int? = null, val amount: Double? = null)(source)

A single fare entry defining pricing for a specific segment.

Constructors

Link copied to clipboard
constructor(interval: Double? = null, start: Int? = null, end: Int? = null, amount: Double? = null)

Properties

Link copied to clipboard

The fare cost per each unit of the parent key.

Link copied to clipboard
val end: Int?

The value, in units of the parent key, at which the amount defined in the object stops being charged.

Link copied to clipboard

Interval, in units of the parent key, at which the amount of the row is applied, from start to end.

Link copied to clipboard
val start: Int?

The value, in units of the parent key, at which the amount defined in the object starts being charged.