TollgateInstruction

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

Parameters

tollgateName

The name of the tollgate, if any.

paymentTypes

The payment types accepted at the tollgate, if available.