TollCollection

class TollCollection : RoadObject

Road object type that provides information about toll collection points on the route.

See also

Parameters

tollCollectionType

information about a toll collection point. See TollCollectionType.

name

name of the toll collection point.

Functions

equals
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Indicates whether some other object is "equal to" this one.
hashCode
Link copied to clipboard
open override fun hashCode(): Int
Returns a hash code value for the object.
toString
Link copied to clipboard
open override fun toString(): String
Returns a string representation of the object.

Properties

id
Link copied to clipboard
val id: String
id of the road object.
length
Link copied to clipboard
val length: Double?
length of the object, null if the object is point-like.
location
Link copied to clipboard
val location: RoadObjectLocation
location of the road object.
name
Link copied to clipboard
val name: String?
name of the toll collection point.
objectType
Link copied to clipboard
val objectType: Int
constant describing the object type, see RoadObjectType.
provider
Link copied to clipboard
val provider: String
provider of the road object
tollCollectionType
Link copied to clipboard
val tollCollectionType: Int
information about a toll collection point.