Class FareRule
Represents rules for applying fare information for a transit organization's routes.
Inherited Members
Namespace: System.Dynamic.ExpandoObject
Assembly: cs.temp.dll.dll
Syntax
public class FareRule : GTFSEntity
Properties
ContainsId
Gets or sets the fare ID with a zone ID, referenced from the stops.txt file. The fare ID is then associated with itineraries that pass through every contains_id zone.
Declaration
public string ContainsId { get; set; }
Property Value
System.String
|
DestinationId
Gets or sets the fare ID with a destination zone ID. Zone IDs are referenced from the stops.txt file. If you have several destination IDs with the same fare attributes, create a row in fare_rules.txt for each destination ID.
Declaration
public string DestinationId { get; set; }
Property Value
System.String
|
FareId
Gets or sets a fare.
Declaration
public string FareId { get; set; }
Property Value
System.String
|
OriginId
Gets or sets the fare ID with an origin zone ID. Zone IDs are referenced from the stops.txt file. If you have several origin IDs with the same fare attributes, create a row in fare_rules.txt for each origin ID.
Declaration
public string OriginId { get; set; }
Property Value
System.String
|
RouteId
Gets or sets a route.
Declaration
public string RouteId { get; set; }
Property Value
System.String
|
Methods
Equals(Object)
Returns true if the given object contains the same data.
Declaration
public override bool Equals(object obj)
Parameters
System.Object
obj
|
Returns
System.Boolean
|
Overrides
GetHashCode()
Serves as a hash function.
Declaration
public override int GetHashCode()
Returns
System.Int32
|