BorderCrossing

class BorderCrossing(val fromCountry: Country, val toCountry: Country)

Indicates a border crossing between two countries.

Throws

Constructors

Link copied to clipboard
constructor(fromCountry: Country, toCountry: Country)

Properties

Link copied to clipboard

Country information of the country the vehicle is leaving.

Link copied to clipboard

Country information of the country the vehicle is entering.

Functions

Link copied to clipboard
operator fun component1(): Country
Link copied to clipboard
operator fun component2(): Country
Link copied to clipboard
fun copy(fromCountry: Country = this.fromCountry, toCountry: Country = this.toCountry): BorderCrossing
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String