FareAttribute
data class FareAttribute(val fareId: String, val price: Double, val currencyType: CurrencyCode, val paymentMethod: PaymentMethod, val transfers: Int?, val agencyId: String? = null, val transferDuration: WholeSeconds? = null)(source)
Fare information for a transit agency's routes.
This class represents a record in the fare_attributes.txt file (GTFS-Fares V1).
Constructors
Link copied to clipboard
constructor(fareId: String, price: Double, currencyType: CurrencyCode, paymentMethod: PaymentMethod, transfers: Int?, agencyId: String? = null, transferDuration: WholeSeconds? = null)
Properties
Link copied to clipboard
Identifies the relevant agency for a fare.
Link copied to clipboard
Currency used to pay the fare.
Link copied to clipboard
Identifies a fare class.
Link copied to clipboard
Indicates when the fare must be paid.
Link copied to clipboard
Fare price, in the unit specified by currency_type.
Link copied to clipboard
Length of time in seconds before a transfer expires.
Link copied to clipboard
Indicates the number of transfers permitted on this fare. When null, unlimited transfers are permitted.