HapiName

data class HapiName(name: String, number: String, category: String, routeIdxFrom: Int, routeIdxTo: Int, Product: HapiProduct?)

Contains name of journey.

Constructors

HapiName
Link copied to clipboard
fun HapiName(name: String, number: String, category: String, routeIdxFrom: Int = -1, routeIdxTo: Int = -1, Product: HapiProduct?)

Properties

category
Link copied to clipboard
val category: String

The train category.

name
Link copied to clipboard
val name: String

Name to be displayed.

number
Link copied to clipboard
val number: String

The train number.

Product
Link copied to clipboard
val Product: HapiProduct?
routeIdxFrom
Link copied to clipboard
val routeIdxFrom: Int

Defines the first stop/station where this name is valid. See the Stops list for details of the stop/station.

routeIdxTo
Link copied to clipboard
val routeIdxTo: Int

Defines the last stop/station where this name is valid. See the Stops list for details of the stop/station.