TollStructure (API Reference)
Package com.here.sdk.mapdata
Class TollStructure
java.lang.Object
com.here.sdk.mapdata.TollStructure
A class that defines tolling configuration for a lane. It describes which types of toll structures apply and the acceptable payment methods. This information can be used to guide drivers through toll roads based on their preferences or vehicle capabilities.
Note: This is a beta release of this feature, so there could be a few bugs and unexpected behaviors. Related APIs may change for new releases without a deprecation process.
-
Field Summary
FieldsModifier and TypeFieldDescriptionContains available payment methodsContains available types of toll structures -
Constructor Summary
ConstructorsConstructorDescriptionTollStructure(List<TollStructureType> structureTypes, List<PaymentMethod> paymentMethods) Creates a new instance. -
Method Summary
-
Field Details
-
structureTypes
Contains available types of toll structures
-
paymentMethods
Contains available payment methods
-
-
Constructor Details
-
TollStructure
public TollStructure(@NonNull List<TollStructureType> structureTypes, @NonNull List<PaymentMethod> paymentMethods) Creates a new instance.
- Parameters:
structureTypes-Contains available types of toll structures
paymentMethods-Contains available payment methods
-
-
Method Details