类 TollCollection.Builder
java.lang.Object
ai.nextbillion.kits.directions.models.TollCollection.Builder
- 封闭类:
- TollCollection
This builder can be used to set the values describing the
TollCollection.-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明abstract TollCollectionbuild()Build a newTollCollectionobject.abstract TollCollection.BuilderThe type of toll collection point, either `toll_booth` or `toll_gantry`.
-
构造器详细资料
-
Builder
public Builder()
-
-
方法详细资料
-
type
The type of toll collection point, either `toll_booth` or `toll_gantry`. Note that adding new possible types is not considered a breaking change.- 参数:
type- toll collection type
-
build
Build a newTollCollectionobject.- 返回:
- a new
TollCollectionusing the provided values in this builder
-