FarePrice class

Price of a fare.

Constructors

FarePrice()

Properties

currency ↔ String
Local currency of the price compliant to ISO 4217. For example, "GBP" for the British pound sterling. Defaults to "EUR" string.
getter/setter pair
estimated ↔ bool
True when the fare price is estimated based on best guess and the actual price may differ. Defaults to false.
getter/setter pair
hashCode → int
The hash code for this object.
no setter
maximum ↔ double
Maximum price when the price is of FarePriceType.range type. Otherwise, it is equal to FarePrice.minimum. Defaults to 0.
getter/setter pair
minimum ↔ double
Minimum price when the price is of FarePriceType.range type. Otherwise, it is equal to FarePrice.maximum. Defaults to 0.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
type FarePriceType
Type of price represented by this object. Defaults to FarePriceType.value.
getter/setter pair
validityPeriod ↔ Duration?
When set, the price is paid for a specific duration.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.