public class FareComponent extends Object
FareComponent is a sequence of routes for a particular fare.
Modifier and Type | Field and Description |
---|---|
org.onebusaway.gtfs.model.AgencyAndId |
fareId |
Money |
price |
List<org.onebusaway.gtfs.model.AgencyAndId> |
routes |
Constructor and Description |
---|
FareComponent(org.onebusaway.gtfs.model.AgencyAndId fareId,
Money amount) |
Modifier and Type | Method and Description |
---|---|
void |
addRoute(org.onebusaway.gtfs.model.AgencyAndId routeId) |
String |
toString() |
Copyright © 2018. All rights reserved.