public class FareComponent extends Object
FareComponent is a sequence of routes for a particular fare.
Modifier and Type | Field and Description |
---|---|
FeedScopedId |
fareId |
Money |
price |
List<FeedScopedId> |
routes |
Constructor and Description |
---|
FareComponent(FeedScopedId fareId,
Money amount) |
public FeedScopedId fareId
public Money price
public List<FeedScopedId> routes
public FareComponent(FeedScopedId fareId, Money amount)
public void addRoute(FeedScopedId routeId)
Copyright © 2019. All rights reserved.