VehicleRentalReservationEntity.Builder


class VehicleRentalReservationEntity.Builder


Builder class for VehicleRentalReservationEntity.

Summary

Public constructors

Public functions

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 localized timestamp for the reservation pickup time for the vehicle rental reservation entity.

VehicleRentalReservationEntity.Builder!

Sets the localized timestamp for the reservation return time for the vehicle rental reservation entity.

VehicleRentalReservationEntity.Builder!

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

VehicleRentalReservationEntity.Builder!

This function is deprecated.

Use setLocalizedPickupTime instead.

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!

This function is deprecated.

Use setLocalizedReturnTime instead.

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

Builder()

Public functions

addPosterImage

@CanIgnoreReturnValue
fun addPosterImage(image: Image!): VehicleRentalReservationEntity.Builder!

Add a poster image of the entity.

Required.

addPosterImages

@CanIgnoreReturnValue
fun addPosterImages(images: (Mutable)List<Image!>!): VehicleRentalReservationEntity.Builder!

Add poster images of the entity.

Required.

addSubtitle

@CanIgnoreReturnValue
fun addSubtitle(subtitle: String!): VehicleRentalReservationEntity.Builder!

Add a subtitle of the Reservation entity.

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

Optional.

addSubtitles

@CanIgnoreReturnValue
fun addSubtitles(subtitles: (Mutable)List<String!>!): VehicleRentalReservationEntity.Builder!

Add subtitles of the Reservation entity.

Optional.

setActionUri

@CanIgnoreReturnValue
fun setActionUri(actionUri: Uri!): VehicleRentalReservationEntity.Builder!

Sets the action uri of the Reservation entity.

Required.

setConfirmationId

@CanIgnoreReturnValue
fun setConfirmationId(confirmationId: String!): VehicleRentalReservationEntity.Builder!

Sets the confirmation ID for the transportation reservation entity.

Optional.

setDescription

@CanIgnoreReturnValue
fun setDescription(description: String!): VehicleRentalReservationEntity.Builder!

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

Optional.

setEntityId

@CanIgnoreReturnValue
fun setEntityId(entityId: String!): VehicleRentalReservationEntity.Builder!

Sets content id of the entity.

Optional.

setLocalizedPickupTime

@CanIgnoreReturnValue
fun setLocalizedPickupTime(localizedPickupTime: LocalizedTimestamp!): VehicleRentalReservationEntity.Builder!

Sets the localized timestamp for the reservation pickup time for the vehicle rental reservation entity.

Required.

setLocalizedReturnTime

@CanIgnoreReturnValue
fun setLocalizedReturnTime(localizedReturnTime: LocalizedTimestamp!): VehicleRentalReservationEntity.Builder!

Sets the localized timestamp for the reservation return time for the vehicle rental reservation entity.

Optional.

setPickupAddress

@CanIgnoreReturnValue
fun setPickupAddress(pickupAddress: Address!): VehicleRentalReservationEntity.Builder!

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

Optional.

setPickupTime

@CanIgnoreReturnValue
fun setPickupTime(pickupTime: Long!): VehicleRentalReservationEntity.Builder!

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

Required.

setPrice

@CanIgnoreReturnValue
fun setPrice(price: Price!): VehicleRentalReservationEntity.Builder!

Sets the price for the vehicle rental reservation entity.

Optional.

setPriceCallout

@CanIgnoreReturnValue
fun setPriceCallout(priceCallout: String!): VehicleRentalReservationEntity.Builder!

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

Optional.

setReturnAddress

@CanIgnoreReturnValue
fun setReturnAddress(returnAddress: Address!): VehicleRentalReservationEntity.Builder!

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
fun setReturnTime(returnTime: Long!): VehicleRentalReservationEntity.Builder!

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

Optional.

setServiceProvider

@CanIgnoreReturnValue
fun setServiceProvider(serviceProvider: ServiceProvider!): VehicleRentalReservationEntity.Builder!

Sets the service provider for the vehicle rental reservation entity.

Optional.

setTitle

@CanIgnoreReturnValue
fun setTitle(title: String!): VehicleRentalReservationEntity.Builder!

Sets the name/title of the Reservation entity.

Required.