TollCost class

Contains informations about the toll costs for a specific vehicle profile.

Constructors

TollCost(String currency)

Properties

currency ↔ String
The currency in which the toll is to be paid in ISO 4217 format, e.g. "USD".
getter/setter pair
hashCode → int
The hash code for this object.
no setter
isPriceCalculatedPerKilometer ↔ bool
Indicates if the toll cost is based on the distance traveled. Defaults to false.
getter/setter pair
paymentMethods ↔ List<PaymentMethod>
The list of accepted payment methods like cash and credit card.
getter/setter pair
price ↔ double
The amount of currency to be paid for the toll.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
transportSpecifications ↔ List<TransportSpecification>
List of transport specifications containing the vehicle characteristics for which the toll cost applies.
getter/setter pair
vehicleProfiles ↔ List<VehicleProfile>
List of vehicle profile containing vehicle characteristics for which the toll cost applies.
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.