HapiTripList

data class HapiTripList(scrB: String?, scrF: String?, scrReturnB: String?, scrReturnF: String?, Trip: List<HapiTrip>, Pricing: List<HapiPricing>) : HapiResponse

The trip list contains all found trips of that trip request. If a major error occurred during the trip request, then the attributes errorCode and errorText are filled and no Trip is available.

Constructors

HapiTripList
Link copied to clipboard
fun HapiTripList(scrB: String?, scrF: String?, scrReturnB: String?, scrReturnF: String?, Trip: List<HapiTrip> = emptyList(), Pricing: List<HapiPricing> = emptyList())

Properties

dialectVersion
Link copied to clipboard
val dialectVersion: String? = null
errorCode
Link copied to clipboard
val errorCode: String? = null
errorText
Link copied to clipboard
val errorText: String? = null
planRtTs
Link copied to clipboard
val planRtTs: Long? = null
Pricing
Link copied to clipboard
val Pricing: List<HapiPricing>
requestId
Link copied to clipboard
val requestId: String? = null
scrB
Link copied to clipboard
val scrB: String?

The context for scroll request backward. Set the context attribute in a Trip request for finding earlier connections.

scrF
Link copied to clipboard
val scrF: String?

The context for scroll request forward. Set the context attribute in a Trip request for finding later connections.

scrReturnB
Link copied to clipboard
val scrReturnB: String?

The context for scroll request backward for returning trips. Set the context attribute in a Trip request for finding earlier connections.

scrReturnF
Link copied to clipboard
val scrReturnF: String?

The context for scroll request forward for returning trips. Set the context attribute in a Trip request for finding later connections.

serverVersion
Link copied to clipboard
val serverVersion: String? = null
TechnicalMessages
Link copied to clipboard
val TechnicalMessages: List<HapiPair>
Trip
Link copied to clipboard
val Trip: List<HapiTrip>
version
Link copied to clipboard
val version: String? = null