LodgingReservationEntity


public final class LodgingReservationEntity extends Entity


An object representing a lodging reservation entity.

Summary

Nested types

Builder class for LodgingReservationEntity.

Public fields

final Address
final long

This field is deprecated.

Use localizedCheckInTime instead.

final long

This field is deprecated.

Use localizedCheckOutTime instead.

final LocalizedTimestamp
final LocalizedTimestamp

Public methods

Uri

Returns the action uri of the lodging reservation entity.

Address

Returns the address of the lodging lodging reservation entity.

long

This method is deprecated.

use getLocalizedCheckInTime instead

long

This method is deprecated.

use getLocalizedCheckOutTime instead

Optional<String>

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

Optional<String>

Returns the reservation id of the entity.

LocalizedTimestamp

Returns the localized timestamp of check in time for the lodging reservation entity.

LocalizedTimestamp

Returns the localized timestamp of check out time for the lodging reservation entity.

List<Image>

Returns the poster image of the lodging reservation entity.

Optional<Price>

Returns the price of the lodging reservation entity.

Optional<String>

Returns the price callout for the lodging reservation entity. e.g. “Limited offer"

Optional<Rating>

Returns the rating of the lodging reservation entity.

Optional<String>

Returns the reservation ID of the entity.

List<String>

Returns the list of subtitles for the lodging reservation entity.

String

Returns the name/title of the lodging reservation Entity.

Public fields

address

public final Address address

checkInTime

public final long checkInTime

checkOutTime

public final long checkOutTime

localizedCheckInTime

public final LocalizedTimestamp localizedCheckInTime

localizedCheckOutTime

public final LocalizedTimestamp localizedCheckOutTime

Public methods

getActionUri

public Uri getActionUri()

Returns the action uri of the lodging reservation entity.

getAddress

public Address getAddress()

Returns the address of the lodging lodging reservation entity.

getCheckInTime

public long getCheckInTime()

Returns the epoch timestamp (in milliseconds) of check in time for the lodging reservation entity.

getCheckOutTime

public long getCheckOutTime()

Returns the epoch timestamp (in milliseconds) of check out time for the lodging reservation entity.

getDescription

public Optional<StringgetDescription()

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

getEntityId

public Optional<StringgetEntityId()

Returns the reservation id of the entity.

getLocalizedCheckInTime

public LocalizedTimestamp getLocalizedCheckInTime()

Returns the localized timestamp of check in time for the lodging reservation entity.

getLocalizedCheckOutTime

public LocalizedTimestamp getLocalizedCheckOutTime()

Returns the localized timestamp of check out time for the lodging reservation entity.

getPosterImages

public List<ImagegetPosterImages()

Returns the poster image of the lodging reservation entity.

getPrice

public Optional<PricegetPrice()

Returns the price of the lodging reservation entity.

getPriceCallout

public Optional<StringgetPriceCallout()

Returns the price callout for the lodging reservation entity. e.g. “Limited offer"

getRating

public Optional<RatinggetRating()

Returns the rating of the lodging reservation entity.

getReservationId

public Optional<StringgetReservationId()

Returns the reservation ID of the entity.

getSubtitleList

public List<StringgetSubtitleList()

Returns the list of subtitles for the lodging reservation entity.

getTitle

public String getTitle()

Returns the name/title of the lodging reservation Entity.