VehicleRentalReservationEntity.Builder

public static final class VehicleRentalReservationEntity.Builder extends Object

Public Constructor Summary

Public Method Summary

VehicleRentalReservationEntity.Builder
addPosterImage(Image image)
Add a poster image of the entity.
VehicleRentalReservationEntity.Builder
addPosterImages(List<Image> images)
Add poster images of the entity.
VehicleRentalReservationEntity.Builder
addSubtitle(String subtitle)
Add a subtitle of the Reservation entity.
VehicleRentalReservationEntity.Builder
addSubtitles(List<String> subtitles)
Add subtitles of the Reservation entity.
VehicleRentalReservationEntity
VehicleRentalReservationEntity.Builder
setActionUri(Uri actionUri)
Sets the action uri of the Reservation entity.
VehicleRentalReservationEntity.Builder
setConfirmationId(String confirmationId)
Sets the confirmation ID for the transportation reservation entity.
VehicleRentalReservationEntity.Builder
setDescription(String description)
Sets the description (typically a single paragraph of text) of the Reservation entity.
VehicleRentalReservationEntity.Builder
setEntityId(String entityId)
Sets content id of the entity.
VehicleRentalReservationEntity.Builder
setPickupAddress(Address pickupAddress)
Sets the pick up address of the vehicle rental reservation entity.
VehicleRentalReservationEntity.Builder
setPickupTime(Long pickupTime)
Sets the epoch timestamp (in milliseconds) for the reservation check in time for the vehicle rental reservation entity.
VehicleRentalReservationEntity.Builder
setPrice(Price price)
Sets the price for the vehicle rental reservation entity.
VehicleRentalReservationEntity.Builder
setPriceCallout(String priceCallout)
Sets the price callout text for the vehicle rental reservation entity.
VehicleRentalReservationEntity.Builder
setReturnAddress(Address returnAddress)
Sets the return address of the vehicle rental reservation entity.
VehicleRentalReservationEntity.Builder
setReturnTime(Long returnTime)
Sets the epoch timestamp (in milliseconds) for the reservation check out time for the vehicle rental reservation entity.
VehicleRentalReservationEntity.Builder
setServiceProvider(ServiceProvider serviceProvider)
Sets the service provider for the vehicle rental reservation entity.
VehicleRentalReservationEntity.Builder
setTitle(String title)
Sets the name/title of the Reservation entity.

Inherited Method Summary

Public Constructors

public Builder ()

Public Methods

public VehicleRentalReservationEntity.Builder addPosterImage (Image image)

Add a poster image of the entity.

Required.

public VehicleRentalReservationEntity.Builder addPosterImages (List<Image> images)

Add poster images of the entity.

Required.

public VehicleRentalReservationEntity.Builder addSubtitle (String subtitle)

Add a subtitle of the Reservation entity.

This field can include subtitles like "Buffet", "Fine dining", etc. .

Optional.

public VehicleRentalReservationEntity.Builder addSubtitles (List<String> subtitles)

Add subtitles of the Reservation entity.

Optional.

public VehicleRentalReservationEntity.Builder setActionUri (Uri actionUri)

Sets the action uri of the Reservation entity.

Required.

public VehicleRentalReservationEntity.Builder setConfirmationId (String confirmationId)

Sets the confirmation ID for the transportation reservation entity.

Optional.

public VehicleRentalReservationEntity.Builder setDescription (String description)

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

Optional.

public VehicleRentalReservationEntity.Builder setEntityId (String entityId)

Sets content id of the entity.

Optional.

public VehicleRentalReservationEntity.Builder setPickupAddress (Address pickupAddress)

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

Optional.

public VehicleRentalReservationEntity.Builder setPickupTime (Long pickupTime)

Sets the epoch timestamp (in milliseconds) for the reservation check in time for the vehicle rental reservation entity.

Required.

public VehicleRentalReservationEntity.Builder setPrice (Price price)

Sets the price for the vehicle rental reservation entity.

Optional.

public VehicleRentalReservationEntity.Builder setPriceCallout (String priceCallout)

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

Optional.

public VehicleRentalReservationEntity.Builder setReturnAddress (Address returnAddress)

Sets the return address of the vehicle rental reservation entity.

Setting this field can be omitted if the return location is the same as pick up address.

Optional.

public VehicleRentalReservationEntity.Builder setReturnTime (Long returnTime)

Sets the epoch timestamp (in milliseconds) for the reservation check out time for the vehicle rental reservation entity.

Optional.

public VehicleRentalReservationEntity.Builder setServiceProvider (ServiceProvider serviceProvider)

Sets the service provider for the vehicle rental reservation entity.

Optional.

public VehicleRentalReservationEntity.Builder setTitle (String title)

Sets the name/title of the Reservation entity.

Required.