LodgingReservationEntity.Builder

class LodgingReservationEntity.Builder


Builder class for LodgingReservationEntity.

Summary

Public constructors

Public functions

LodgingReservationEntity.Builder!

Add a poster image of the lodging reservation entity.

LodgingReservationEntity.Builder!

Add poster images of the lodging reservation entity.

LodgingReservationEntity.Builder!

Add a subtitle of the lodging reservation entity.

LodgingReservationEntity.Builder!

Add subtitles of the lodging reservation entity.

LodgingReservationEntity!
LodgingReservationEntity.Builder!

Sets the action uri of the lodging reservation entity.

LodgingReservationEntity.Builder!

Sets the address of the lodging reservation entity.

LodgingReservationEntity.Builder!

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

LodgingReservationEntity.Builder!

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

LodgingReservationEntity.Builder!

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

LodgingReservationEntity.Builder!

Sets reservation id of the lodging reservation entity.

LodgingReservationEntity.Builder!

Sets the price for the lodging reservation entity;

LodgingReservationEntity.Builder!

Sets the price callout text for the lodging reservation entity. e.g. “Limited deal"

LodgingReservationEntity.Builder!

Sets the rating for the lodging reservation entity.

LodgingReservationEntity.Builder!

Sets the reservation ID for the lodging reservation entity.

LodgingReservationEntity.Builder!

Sets the name/title of the lodging reservation entity.

Public constructors

Builder

Builder()

Public functions

addPosterImage

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

Add a poster image of the lodging reservation entity.

Required.

addPosterImages

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

Add poster images of the lodging reservation entity.

Required.

addSubtitle

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

Add a subtitle of the lodging reservation entity.

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

Optional.

addSubtitles

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

Add subtitles of the lodging reservation entity.

Optional.

setActionUri

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

Sets the action uri of the lodging reservation entity.

Required.

setAddress

@CanIgnoreReturnValue
fun setAddress(address: Address!): LodgingReservationEntity.Builder!

Sets the address of the lodging reservation entity.

Required.

setCheckInTime

@CanIgnoreReturnValue
fun setCheckInTime(checkInTime: Long): LodgingReservationEntity.Builder!

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

Required.

setCheckOutTime

@CanIgnoreReturnValue
fun setCheckOutTime(checkOutTime: Long): LodgingReservationEntity.Builder!

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

Required.

setDescription

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

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

Optional.

setEntityId

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

Sets reservation id of the lodging reservation entity.

Optional.

setPrice

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

Sets the price for the lodging reservation entity;

Optional.

setPriceCallout

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

Sets the price callout text for the lodging reservation entity. e.g. “Limited deal"

Optional.

setRating

@CanIgnoreReturnValue
fun setRating(rating: Rating!): LodgingReservationEntity.Builder!

Sets the rating for the lodging reservation entity.

Optional.

setReservationId

@CanIgnoreReturnValue
fun setReservationId(reservationId: String!): LodgingReservationEntity.Builder!

Sets the reservation ID for the lodging reservation entity.

Optional.

setTitle

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

Sets the name/title of the lodging reservation entity.

Required.