类 Fare

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.
  • 构造器概要

    构造器 
    构造器 说明
    Fare()  
  • 方法概要

    修饰符和类型 方法 说明
    java.lang.String toString()  

    从类继承的方法 java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • 字段详细资料

    • 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 in currency.
  • 构造器详细资料

    • Fare

      public Fare()
  • 方法详细资料

    • toString

      public java.lang.String toString()
      覆盖:
      toString 在类中 java.lang.Object