Header menu logo fshafas

JourneysOptionsCommon Type

Record fields

Record Field Description

accessibility

Full Usage: accessibility

Field type: string option

'none', 'partial' or 'complete'

Field type: string option

arrival

Full Usage: arrival

Field type: DateTime option

arrival date, departure and arrival are mutually exclusive.

Field type: DateTime option

bike

Full Usage: bike

Field type: bool option

only bike-friendly journeys

Field type: bool option

departure

Full Usage: departure

Field type: DateTime option

departure date, undefined corresponds to Date.Now

Field type: DateTime option

earlierThan

Full Usage: earlierThan

Field type: string option

earlierThan, use {@link Journeys#earlierRef}, earlierThan and departure/arrival are mutually exclusive.

Field type: string option

entrances

Full Usage: entrances

Field type: bool option

parse & expose entrances of stops/stations?

Field type: bool option

language

Full Usage: language

Field type: string option

language to get results in

Field type: string option

laterThan

Full Usage: laterThan

Field type: string option

laterThan, use {@link Journeys#laterRef}, laterThan and departure/arrival are mutually exclusive.

Field type: string option

polylines

Full Usage: polylines

Field type: bool option

return a shape for each leg?

Field type: bool option

products

Full Usage: products

Field type: Products option
Field type: Products option

remarks

Full Usage: remarks

Field type: bool option

parse & expose hints & warnings?

Field type: bool option

results

Full Usage: results

Field type: int option

how many search results?

Field type: int option

scheduledDays

Full Usage: scheduledDays

Field type: bool option

parse which days each journey is valid on

Field type: bool option

startWithWalking

Full Usage: startWithWalking

Field type: bool option

start with walking

Field type: bool option

stopovers

Full Usage: stopovers

Field type: bool option

return stations on the way?

Field type: bool option

subStops

Full Usage: subStops

Field type: bool option

parse & expose sub-stops of stations?

Field type: bool option

tickets

Full Usage: tickets

Field type: bool option

return tickets? only available with some profiles

Field type: bool option

transferTime

Full Usage: transferTime

Field type: int option

minimum time for a single transfer in minutes

Field type: int option

transfers

Full Usage: transfers

Field type: int option

Maximum nr of transfers. Default: Let HAFAS decide.

Field type: int option

via

Full Usage: via

Field type: string option

let journeys pass this station

Field type: string option

walkingSpeed

Full Usage: walkingSpeed

Field type: string option

'slow', 'normal', 'fast'

Field type: string option

when

Full Usage: when

Field type: DateTime option
Field type: DateTime option

Type something to start searching.