Package com.google.maps.model
Class Fare
- java.lang.Object
-
- com.google.maps.model.Fare
-
- All Implemented Interfaces:
java.io.Serializable
public class Fare extends java.lang.Object implements java.io.Serializable
A representation of ticket cost for use on public transit.See the Routes Documentation for more detail.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Fare()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
toString()
-
-
-
Field Detail
-
currency
public java.util.Currency currency
The currency that the amount is expressed in.
-
value
public java.math.BigDecimal value
The total fare amount, in the currency specified incurrency
.
-
-