LodgingEntity


class LodgingEntity : Entity


An object representing a Lodging Entity.

Summary

Nested types

Builder class for LodgingEntity.

Public functions

Optional<AvailabilityTimeWindow!>!

Returns availability time window for the lodging entity.

Optional<String!>!

Returns the description (typically a single paragraph of text) for the lodging entity.

Optional<String!>!

Returns the id of the entity.

(Mutable)List<Image!>!

Returns the poster image of the entity.

Optional<Price!>!

Returns the price of the lodging entity.

Optional<String!>!

Returns the price callout for the lodging entity. e.g. “Limited offer"

Optional<Rating!>!

Returns the rating of the lodging entity.

Public functions

getAvailabilityTimeWindow

fun getAvailabilityTimeWindow(): Optional<AvailabilityTimeWindow!>!

Returns availability time window for the lodging entity.

This can refer to time the lodging entity is opened for the day/dates between which the lodging is available.

getDescription

fun getDescription(): Optional<String!>!

Returns the description (typically a single paragraph of text) for the lodging entity.

getEntityId

fun getEntityId(): Optional<String!>!

Returns the id of the entity.

getPosterImages

fun getPosterImages(): (Mutable)List<Image!>!

Returns the poster image of the entity.

getPrice

fun getPrice(): Optional<Price!>!

Returns the price of the lodging entity.

getPriceCallout

fun getPriceCallout(): Optional<String!>!

Returns the price callout for the lodging entity. e.g. “Limited offer"

getRating

fun getRating(): Optional<Rating!>!

Returns the rating of the lodging entity.

Public properties

actionLinkUri

val actionLinkUriUri!

badgeList

val badgeList: (Mutable)List<Badge!>!

location

val locationAddress!

subtitleList

val subtitleList: (Mutable)List<String!>!

title

val titleString!