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

withIsVehicleCommercial

abstract fun withIsVehicleCommercial(isVehicleCommercial: Boolean!): ILongDistanceEVRoutingQuery!

Used in the default builder LongDistanceEVRoutingQueryBuilder.

Parameters

isVehicleCommercial - Boolean!: Specifies whether the vehicle is used for commercial purposes and thus may not be allowed to drive on some roads.

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