Package | Description |
---|---|
org.opentripplanner.routing.core | |
org.opentripplanner.routing.impl |
Modifier and Type | Field and Description |
---|---|
HashMap<Fare.FareType,List<FareComponent>> |
Fare.details
A mapping from
Fare.FareType to a list of FareComponent . |
HashMap<Fare.FareType,Money> |
Fare.fare
A mapping from
Fare.FareType to Money . |
Modifier and Type | Method and Description |
---|---|
static Fare.FareType |
Fare.FareType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Fare.FareType[] |
Fare.FareType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
void |
Fare.addFare(Fare.FareType fareType,
Money money) |
void |
Fare.addFare(Fare.FareType fareType,
WrappedCurrency currency,
int cents) |
void |
Fare.addFareDetails(Fare.FareType fareType,
List<FareComponent> newDetails) |
List<FareComponent> |
Fare.getDetails(Fare.FareType type) |
Money |
Fare.getFare(Fare.FareType type) |
Modifier and Type | Field and Description |
---|---|
protected Map<Fare.FareType,Collection<FareRuleSet>> |
DefaultFareServiceImpl.fareRulesPerType
For each fare type (regular, student, etc...) the collection of rules that apply.
|
Modifier and Type | Method and Description |
---|---|
void |
DefaultFareServiceImpl.addFareRules(Fare.FareType fareType,
Collection<FareRuleSet> fareRules) |
protected float |
DefaultFareServiceImpl.calculateCost(Fare.FareType fareType,
List<org.opentripplanner.routing.impl.Ride> rides,
Collection<FareRuleSet> fareRules) |
protected float |
DefaultFareServiceImpl.getLowestCost(Fare.FareType fareType,
List<org.opentripplanner.routing.impl.Ride> rides,
Collection<FareRuleSet> fareRules) |
protected float |
DutchFareServiceImpl.getLowestCost(Fare.FareType fareType,
List<org.opentripplanner.routing.impl.Ride> rides,
Collection<FareRuleSet> fareRules) |
protected float |
SFBayFareServiceImpl.getLowestCost(Fare.FareType fareType,
List<org.opentripplanner.routing.impl.Ride> rides,
Collection<FareRuleSet> fareRules) |
protected boolean |
DefaultFareServiceImpl.populateFare(Fare fare,
Currency currency,
Fare.FareType fareType,
List<org.opentripplanner.routing.impl.Ride> rides,
Collection<FareRuleSet> fareRules)
Builds the Fare object for the given currency, fareType and fareRules.
|
protected boolean |
DutchFareServiceImpl.populateFare(Fare fare,
Currency currency,
Fare.FareType fareType,
List<org.opentripplanner.routing.impl.Ride> rides,
Collection<FareRuleSet> fareRules) |
protected boolean |
SFBayFareServiceImpl.populateFare(Fare fare,
Currency currency,
Fare.FareType fareType,
List<org.opentripplanner.routing.impl.Ride> rides,
Collection<FareRuleSet> fareRules) |
Copyright © 2018. All rights reserved.