-
- All Implemented Interfaces:
-
android.os.Parcelable
public final class EHTollBooth implements Parcelable
Data structure of Toll booth
-
-
Field Summary
Fields Modifier and Type Field Description private final FloatoffsetFromLinkStartprivate final LongtoLinkIdprivate final List<TollSystemType>tollSystemTypesprivate final List<PaymentType>paymentTypes
-
Constructor Summary
Constructors Constructor Description EHTollBooth(Float offsetFromLinkStart, Long toLinkId, List<TollSystemType> tollSystemTypes, List<PaymentType> paymentTypes)
-
Method Summary
Modifier and Type Method Description final FloatgetOffsetFromLinkStart()The distance from the start point of the link to the shape point, unit: meter. final LonggetToLinkId()The way id of the to link. final List<TollSystemType>getTollSystemTypes()The toll system types of the tollbooth. final List<PaymentType>getPaymentTypes()The toll payment types of the tollbooth. -
-
Constructor Detail
-
EHTollBooth
EHTollBooth(Float offsetFromLinkStart, Long toLinkId, List<TollSystemType> tollSystemTypes, List<PaymentType> paymentTypes)
-
-
Method Detail
-
getOffsetFromLinkStart
final Float getOffsetFromLinkStart()
The distance from the start point of the link to the shape point, unit: meter. Default value is Float.MAX_VALUE which indicates invalid value.
-
getToLinkId
final Long getToLinkId()
The way id of the to link. Default value is 0 which indicates invalid value.
-
getTollSystemTypes
final List<TollSystemType> getTollSystemTypes()
The toll system types of the tollbooth.
-
getPaymentTypes
final List<PaymentType> getPaymentTypes()
The toll payment types of the tollbooth.
-
-
-
-