java.lang.Object
ai.nextbillion.maps.model.Fare
- 所有已实现的接口:
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.
- 另请参阅:
- 序列化表格
-
字段概要
字段
| 修饰符和类型 |
字段 |
说明 |
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.
|
-
-
方法概要
| 修饰符和类型 |
方法 |
说明 |
java.lang.String |
toString() |
|
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
字段详细资料
-
public java.util.Currency currency
The currency that the amount is expressed in.
-
public java.math.BigDecimal value
The total fare amount, in the currency specified in
currency.
-
-
方法详细资料
-
public java.lang.String toString()
- 覆盖:
toString 在类中 java.lang.Object