Builder class for
VehicleRentalReservationEntity
.
Public Constructor Summary
Builder()
|
Public Method Summary
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 build ()
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.