FareLegRule
data class FareLegRule(val legGroupId: String? = null, val networkId: String? = null, val fromAreaId: String? = null, val toAreaId: String? = null, val fromTimeframeGroupId: String? = null, val toTimeframeGroupId: String? = null, val fareProductId: String, val rulePriority: Int? = null)(source)
Fare rules for individual legs of travel.
This class represents a record in the fare_leg_rules.txt file.
Constructors
Properties
Link copied to clipboard
The fare product required to travel the leg.
Link copied to clipboard
Identifies a departure area.
Link copied to clipboard
Defines the timeframe for the fare validation event at the start of the fare leg.
Link copied to clipboard
Identifies a group of fare leg rules.
Link copied to clipboard
Identifies a route network that applies for the fare leg rule.
Link copied to clipboard
Defines the order of priority in which matching rules are applied to legs.
Link copied to clipboard
Identifies an arrival area.
Link copied to clipboard
Defines the timeframe for the fare validation event at the end of the fare leg.