FareRule
data class FareRule(val fareId: String, val routeId: String? = null, val originId: String? = null, val destinationId: String? = null, val containsId: String? = null)(source)
Rules to apply fares for itineraries.
This class represents a record in the fare_rules.txt file (GTFS-Fares V1).
The fare_rules.txt table specifies how fares in fare_attributes.txt apply to an itinerary. Most fare structures use some combination of the following rules:
Fare depends on origin or destination stations.
Fare depends on which zones the itinerary passes through.
Fare depends on which route the itinerary uses.
Constructors
Properties
Link copied to clipboard
Identifies the zones that a rider will enter while using a given fare class.
Link copied to clipboard
Identifies a destination zone.
Link copied to clipboard
Identifies a fare class.
Link copied to clipboard
Identifies an origin zone.
Link copied to clipboard
Identifies a route associated with the fare class.