java.io.Serializablepublic class Fare
extends java.lang.Object
implements java.io.Serializable
See the Routes Documentation for more detail.
| Modifier and Type | Field | Description |
|---|---|---|
java.util.Currency |
currency |
The currency that the amount is expressed in.
|
java.math.BigDecimal |
value |
The total fare amount, in the currency specified in
currency. |
| Constructor | Description |
|---|---|
Fare() |
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.String |
toString() |
public java.util.Currency currency
public java.math.BigDecimal value
currency.