TransportationReservationEntity


class TransportationReservationEntity : Entity


An object representing a transportation reservation entity.

Summary

Public functions

Uri!

Returns the action uri of the entity.

Optional<Address!>!

Returns the arrival location of the transportation reservation entity.

Optional<Long!>!

This function is deprecated.

Use getLocalizedBoardingTime instead.

Optional<Address!>!

Returns the departure location of the transportation reservation entity.

Optional<String!>!

Returns the description (typically a single paragraph of text) for the transportation reservation entity.

Optional<String!>!

Returns the reservation id of the entity.

Optional<LocalizedTimestamp!>!

Returns the localized timestamp of the boarding time for the transportation reservation entity.

(Mutable)List<Image!>!

Returns the poster image of the entity.

Optional<Price!>!

Returns the price of the transportation reservation entity.

Optional<String!>!

Returns the price callout text for the transportation reservation entity.

Optional<String!>!

Returns the reservation ID of the entity.

Optional<ServiceProvider!>!

Returns the service provider of the transportation reservation entity.

(Mutable)List<String!>!

Returns the list of subtitles for the Reservation entity.

String!

Returns the name/title of the transportation reservation Entity.

Optional<String!>!

Returns the transportation number (e.g. flight number, bus number, train number, ferry name/number) of the transportation reservation entity.

Public functions

getActionUri

fun getActionUri(): Uri!

Returns the action uri of the entity.

getArrivalLocation

fun getArrivalLocation(): Optional<Address!>!

Returns the arrival location of the transportation reservation entity.

getBoardingTime

fun getBoardingTime(): Optional<Long!>!

Returns the epoch timestamp (in milliseconds) of boarding time for the transportation reservation entity.

getDepartureLocation

fun getDepartureLocation(): Optional<Address!>!

Returns the departure location of the transportation reservation entity.

getDescription

fun getDescription(): Optional<String!>!

Returns the description (typically a single paragraph of text) for the transportation reservation entity.

getEntityId

fun getEntityId(): Optional<String!>!

Returns the reservation id of the entity.

getLocalizedBoardingTime

fun getLocalizedBoardingTime(): Optional<LocalizedTimestamp!>!

Returns the localized timestamp of the boarding time for the transportation reservation entity.

getPosterImages

fun getPosterImages(): (Mutable)List<Image!>!

Returns the poster image of the entity.

getPrice

fun getPrice(): Optional<Price!>!

Returns the price of the transportation reservation entity.

getPriceCallout

fun getPriceCallout(): Optional<String!>!

Returns the price callout text for the transportation reservation entity.

getReservationId

fun getReservationId(): Optional<String!>!

Returns the reservation ID of the entity.

getServiceProvider

fun getServiceProvider(): Optional<ServiceProvider!>!

Returns the service provider of the transportation reservation entity.

getSubtitleList

fun getSubtitleList(): (Mutable)List<String!>!

Returns the list of subtitles for the Reservation entity.

getTitle

fun getTitle(): String!

Returns the name/title of the transportation reservation Entity.

getTransportationNumber

fun getTransportationNumber(): Optional<String!>!

Returns the transportation number (e.g. flight number, bus number, train number, ferry name/number) of the transportation reservation entity.

Public properties

arrivalTime

val arrivalTimeLong!

departureTime

val departureTimeLong!

localizedArrivalTime

val localizedArrivalTimeLocalizedTimestamp!

localizedDepartureTime

val localizedDepartureTimeLocalizedTimestamp!

transportationType

@TransportationType
val transportationTypeInt