sdk-routing / com.tomtom.online.sdk.routing.data.longDistanceEV / ILongDistanceEVRoutingQuery / withVehicleAdrTunnelRestrictionCode

withVehicleAdrTunnelRestrictionCode

abstract fun withVehicleAdrTunnelRestrictionCode(vehicleAdrTunnelRestrictionCode: NativeVehicleAdrTunnelRestrictionCode!): ILongDistanceEVRoutingQuery!

Used in the default builder LongDistanceEVRoutingQueryBuilder.

Parameters

vehicleAdrTunnelRestrictionCode - NativeVehicleAdrTunnelRestrictionCode!: If vehicleAdrTunnelRestrictionCode is specified, the vehicle is subject to ADR tunnel restrictions.

Return
ILongDistanceEVRoutingQuery!: The builder of the query with a new value of the vehicleAdrTunnelRestrictionCode.