VehicleRentalReservationEntity.Builder

public final class VehicleRentalReservationEntity.Builder


Builder class for VehicleRentalReservationEntity.

Summary

Public constructors

Public methods

VehicleRentalReservationEntity.Builder

Add a poster image of the entity.

VehicleRentalReservationEntity.Builder

Add poster images of the entity.

VehicleRentalReservationEntity.Builder

Add a subtitle of the Reservation entity.

VehicleRentalReservationEntity.Builder

Add subtitles of the Reservation entity.

VehicleRentalReservationEntity
VehicleRentalReservationEntity.Builder

Sets the action uri of the Reservation entity.

VehicleRentalReservationEntity.Builder

Sets the confirmation ID for the transportation reservation entity.

VehicleRentalReservationEntity.Builder

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

VehicleRentalReservationEntity.Builder

Sets content id of the entity.

VehicleRentalReservationEntity.Builder

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

VehicleRentalReservationEntity.Builder

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

VehicleRentalReservationEntity.Builder

Sets the price for the vehicle rental reservation entity.

VehicleRentalReservationEntity.Builder

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

VehicleRentalReservationEntity.Builder

Sets the return address of the vehicle rental reservation entity.

VehicleRentalReservationEntity.Builder

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

VehicleRentalReservationEntity.Builder

Sets the service provider for the vehicle rental reservation entity.

VehicleRentalReservationEntity.Builder

Sets the name/title of the Reservation entity.

Public constructors

Builder

public Builder()

Public methods

addPosterImage

@CanIgnoreReturnValue
public VehicleRentalReservationEntity.Builder addPosterImage(Image image)

Add a poster image of the entity.

Required.

addPosterImages

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

Add poster images of the entity.

Required.

addSubtitle

@CanIgnoreReturnValue
public VehicleRentalReservationEntity.Builder addSubtitle(String subtitle)

Add a subtitle of the Reservation entity.

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

Optional.

addSubtitles

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

Add subtitles of the Reservation entity.

Optional.

setActionUri

@CanIgnoreReturnValue
public VehicleRentalReservationEntity.Builder setActionUri(Uri actionUri)

Sets the action uri of the Reservation entity.

Required.

setConfirmationId

@CanIgnoreReturnValue
public VehicleRentalReservationEntity.Builder setConfirmationId(String confirmationId)

Sets the confirmation ID for the transportation reservation entity.

Optional.

setDescription

@CanIgnoreReturnValue
public VehicleRentalReservationEntity.Builder setDescription(String description)

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

Optional.

setEntityId

@CanIgnoreReturnValue
public VehicleRentalReservationEntity.Builder setEntityId(String entityId)

Sets content id of the entity.

Optional.

setPickupAddress

@CanIgnoreReturnValue
public VehicleRentalReservationEntity.Builder setPickupAddress(Address pickupAddress)

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

Optional.

setPickupTime

@CanIgnoreReturnValue
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.

setPrice

@CanIgnoreReturnValue
public VehicleRentalReservationEntity.Builder setPrice(Price price)

Sets the price for the vehicle rental reservation entity.

Optional.

setPriceCallout

@CanIgnoreReturnValue
public VehicleRentalReservationEntity.Builder setPriceCallout(String priceCallout)

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

Optional.

setReturnAddress

@CanIgnoreReturnValue
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.

setReturnTime

@CanIgnoreReturnValue
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.

setServiceProvider

@CanIgnoreReturnValue
public VehicleRentalReservationEntity.Builder setServiceProvider(ServiceProvider serviceProvider)

Sets the service provider for the vehicle rental reservation entity.

Optional.

setTitle

@CanIgnoreReturnValue
public VehicleRentalReservationEntity.Builder setTitle(String title)

Sets the name/title of the Reservation entity.

Required.