VehicleRentalReservationEntity


public final class VehicleRentalReservationEntity extends Entity


An object representing a vehicle rental reservation entity.

Summary

Nested types

Builder class for VehicleRentalReservationEntity.

Public fields

final LocalizedTimestamp
final Long

This field is deprecated.

Use localizedPickupTime instead.

Public methods

Uri

Returns the action uri of the entity.

Optional<String>

Returns the confirmation ID of the entity.

Optional<String>

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

Optional<String>

Returns the id of the entity.

LocalizedTimestamp

Returns the localized timestamp of pick up time for the vehicle rental reservation entity.

Optional<LocalizedTimestamp>

Returns the localized timestamp of the return time for the vehicle rental reservation entity.

Optional<Address>

Returns the pick up address of the vehicle rental reservation entity.

Long

This method is deprecated.

use getLocalizedPickupTime instead

List<Image>

Returns the poster image of the entity.

Optional<Price>

Returns the price of the vehicle rental reservation entity.

Optional<String>

Returns the price callout text for the vehicle rental reservation entity.

Optional<Address>

Returns the return/drop-off address of the vehicle rental reservation entity.

Optional<Long>

This method is deprecated.

use getLocalizedReturnTime instead

Optional<ServiceProvider>

Returns the service provider of the vehicle rental reservation entity.

List<String>

Returns the list of subtitles for the Reservation entity.

String

Returns the name/title of the Reservation Entity.

Public fields

localizedPickupTime

public final LocalizedTimestamp localizedPickupTime

pickupTime

public final Long pickupTime

Public methods

getActionUri

public Uri getActionUri()

Returns the action uri of the entity.

getConfirmationId

public Optional<StringgetConfirmationId()

Returns the confirmation ID of the entity.

getDescription

public Optional<StringgetDescription()

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

getEntityId

public Optional<StringgetEntityId()

Returns the id of the entity.

getLocalizedPickupTime

public LocalizedTimestamp getLocalizedPickupTime()

Returns the localized timestamp of pick up time for the vehicle rental reservation entity.

getLocalizedReturnTime

public Optional<LocalizedTimestampgetLocalizedReturnTime()

Returns the localized timestamp of the return time for the vehicle rental reservation entity.

getPickupAddress

public Optional<AddressgetPickupAddress()

Returns the pick up address of the vehicle rental reservation entity.

getPickupTime

public Long getPickupTime()

Returns the epoch timestamp (in milliseconds) of pick up time for the vehicle rental reservation entity.

getPosterImages

public List<ImagegetPosterImages()

Returns the poster image of the entity.

getPrice

public Optional<PricegetPrice()

Returns the price of the vehicle rental reservation entity.

getPriceCallout

public Optional<StringgetPriceCallout()

Returns the price callout text for the vehicle rental reservation entity.

getReturnAddress

public Optional<AddressgetReturnAddress()

Returns the return/drop-off address of the vehicle rental reservation entity.

getReturnTime

public Optional<LonggetReturnTime()

Returns the epoch timestamp (in milliseconds) of return time for the vehicle rental reservation entity.

getServiceProvider

public Optional<ServiceProvidergetServiceProvider()

Returns the service provider of the vehicle rental reservation entity.

getSubtitleList

public List<StringgetSubtitleList()

Returns the list of subtitles for the Reservation entity.

getTitle

public String getTitle()

Returns the name/title of the Reservation Entity.