TollgateInstruction

fun TollgateInstruction(id: UniqueId = UniqueId(), routeOffset: Distance, travelTime: Duration, maneuverPoint: GeoPoint, drivingSide: DrivingSide, combineWithNext: Boolean, announcements: List<Announcement> = emptyList(), previousSignificantRoad: RoadInformation? = null, nextSignificantRoad: RoadInformation? = null, routePath: List<RouteCoordinate> = emptyList(), intersectionName: TextWithPhonetics? = null, signpost: Signpost? = null, landmark: Landmark? = null, sideStreetOffset: Distance? = null, trafficLightOffset: Distance? = null, tollgateName: TextWithPhonetics? = null, paymentTypes: Set<TollgatePaymentType> = emptySet())

Parameters

tollgateName

The name of the tollgate, if any.

paymentTypes

The payment types accepted at the tollgate, if available.