TollCollection

@Serializable
data class TollCollection(val type: String? = null)

An object containing information about a toll collection point along the route. This is a payment booth or overhead electronic gantry payment booth or overhead electronic gantry where toll charge is collected. Only available on the DirectionsCriteria.PROFILE_DRIVING profile.

Constructors

Link copied to clipboard
constructor(type: String? = null)

Properties

Link copied to clipboard
val type: String? = null

The type of toll collection point, either toll_booth or toll_gantry. Note that adding new possible types is not considered a breaking change.