# PointOfInterestEntity

# PointOfInterestEntity

*** ** * ** ***

Kotlin\|[Java](https://developer.android.com/reference/com/google/android/engage/travel/datamodel/PointOfInterestEntity "View this page in Java")  

<br />

```
class PointOfInterestEntity : Entity
```

<br />

|---|---|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [kotlin.Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)                                                                                                         |||
| ↳ | [com.google.android.engage.common.datamodel.Entity](https://developer.android.com/reference/kotlin/com/google/android/engage/common/datamodel/Entity)                                  ||
|   | ↳ | [com.google.android.engage.travel.datamodel.PointOfInterestEntity](https://developer.android.com/reference/kotlin/com/google/android/engage/travel/datamodel/PointOfInterestEntity) |

*** ** * ** ***

An object representing a Point of Interest Entity.

## Summary

|                                                                                                                                                                                                                                                                                                                                              ### Nested types                                                                                                                                                                                                                                                                                                                                              |
|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `class `[PointOfInterestEntity.Builder](https://developer.android.com/reference/kotlin/com/google/android/engage/travel/datamodel/PointOfInterestEntity.Builder) Builder class for[PointOfInterestEntity](https://developer.android.com/reference/kotlin/com/google/android/engage/travel/datamodel/PointOfInterestEntity).                                                                                                                                                                                                                                                                                                                                                                                |
| `@`[IntDef](https://developer.android.com/reference/androidx/annotation/IntDef.html)`(value = [EligibleContentCategory.TYPE_EDUCATION, EligibleContentCategory.TYPE_SPORTS, EligibleContentCategory.TYPE_MOVIES_AND_TV_SHOWS, EligibleContentCategory.TYPE_TRAVEL_AND_LOCAL, EligibleContentCategory.TYPE_MEDICAL])` `@`[Retention](https://developer.android.com/reference/java/lang/annotation/Retention.html)`(value = RetentionPolicy.SOURCE)` `annotation `[PointOfInterestEntity.EligibleContentCategory](https://developer.android.com/reference/kotlin/com/google/android/engage/travel/datamodel/PointOfInterestEntity.EligibleContentCategory) Content category of the point of interest entity. |

|                                                                                                                                               ### Public functions                                                                                                                                                |
|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [Optional](https://guava.dev/releases/21.0/api/docs/com/google/common/base/Optional.html)`<`[AvailabilityTimeWindow](https://developer.android.com/reference/kotlin/com/google/android/engage/common/datamodel/AvailabilityTimeWindow)`!>!`                                                                       | [getAvailabilityTimeWindow](https://developer.android.com/reference/kotlin/com/google/android/engage/travel/datamodel/PointOfInterestEntity#getAvailabilityTimeWindow())`()` Returns availability time window for the point of interest entity.                              |
| `(`[Mutable](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-mutable-list/index.html)`)`[List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)`<`[Badge](https://developer.android.com/reference/kotlin/com/google/android/engage/common/datamodel/Badge)`!>!` | [getBadgeList](https://developer.android.com/reference/kotlin/com/google/android/engage/travel/datamodel/PointOfInterestEntity#getBadgeList())`()` Returns the list of badges (image/text) for the point of interest entity. e.g. "7 wonder of the world", "Best trail 2024" |
| `(`[Mutable](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-mutable-list/index.html)`)`[List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)`<`[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)`!>!`                               | [getContentCategoryList](https://developer.android.com/reference/kotlin/com/google/android/engage/travel/datamodel/PointOfInterestEntity#getContentCategoryList())`()` Returns content categories of the point of interest entity.                                           |
| [Optional](https://guava.dev/releases/21.0/api/docs/com/google/common/base/Optional.html)`<`[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`!>!`                                                                                                                                 | [getDescription](https://developer.android.com/reference/kotlin/com/google/android/engage/travel/datamodel/PointOfInterestEntity#getDescription())`()` Returns the description (typically a single paragraph of text) for the point of interest entity.                      |
| [Optional](https://guava.dev/releases/21.0/api/docs/com/google/common/base/Optional.html)`<`[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`!>!`                                                                                                                                 | [getEntityId](https://developer.android.com/reference/kotlin/com/google/android/engage/travel/datamodel/PointOfInterestEntity#getEntityId())`()` Returns the id of the entity.                                                                                               |
| [Optional](https://guava.dev/releases/21.0/api/docs/com/google/common/base/Optional.html)`<`[Instant](https://developer.android.com/reference/kotlin/org/joda/time/Instant)`!>!`                                                                                                                                  | [getLastEngagementTime](https://developer.android.com/reference/kotlin/com/google/android/engage/travel/datamodel/PointOfInterestEntity#getLastEngagementTime())`()` Returns last engagement time for the point of interest entity.                                          |
| `(`[Mutable](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-mutable-list/index.html)`)`[List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)`<`[Image](https://developer.android.com/reference/kotlin/com/google/android/engage/common/datamodel/Image)`!>!` | [getPosterImages](https://developer.android.com/reference/kotlin/com/google/android/engage/travel/datamodel/PointOfInterestEntity#getPosterImages())`()` Returns the poster image of the entity.                                                                             |
| [Optional](https://guava.dev/releases/21.0/api/docs/com/google/common/base/Optional.html)`<`[Price](https://developer.android.com/reference/kotlin/com/google/android/engage/common/datamodel/Price)`!>!`                                                                                                         | [getPrice](https://developer.android.com/reference/kotlin/com/google/android/engage/travel/datamodel/PointOfInterestEntity#getPrice())`()` Returns the price of the point of interest entity.                                                                                |
| [Optional](https://guava.dev/releases/21.0/api/docs/com/google/common/base/Optional.html)`<`[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`!>!`                                                                                                                                 | [getPriceCallout](https://developer.android.com/reference/kotlin/com/google/android/engage/travel/datamodel/PointOfInterestEntity#getPriceCallout())`()` Returns the price callout for the point of interest entity. e.g. "Limited offer"                                    |
| [Optional](https://guava.dev/releases/21.0/api/docs/com/google/common/base/Optional.html)`<`[Rating](https://developer.android.com/reference/kotlin/com/google/android/engage/common/datamodel/Rating)`!>!`                                                                                                       | [getRating](https://developer.android.com/reference/kotlin/com/google/android/engage/travel/datamodel/PointOfInterestEntity#getRating())`()` Returns the rating of the point of interest entity.                                                                             |
| `(`[Mutable](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-mutable-list/index.html)`)`[List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)`<`[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`!>!`                         | [getSubtitleList](https://developer.android.com/reference/kotlin/com/google/android/engage/travel/datamodel/PointOfInterestEntity#getSubtitleList())`()` Returns the list of subtitles for the point of interest entity. e.g. "Trail length", "Elev.                         |

|                                                                                                             ### Public properties                                                                                                              |
|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [Uri](https://developer.android.com/reference/android/net/Uri.html)`!`                                                                                                                                                                         | [actionLinkUri](https://developer.android.com/reference/kotlin/com/google/android/engage/travel/datamodel/PointOfInterestEntity#actionLinkUri())           |
| [ImmutableList](https://guava.dev/releases/21.0/api/docs/com/google/common/collect/ImmutableList.html)`<`[DisplayTimeWindow](https://developer.android.com/reference/kotlin/com/google/android/engage/common/datamodel/DisplayTimeWindow)`!>!` | [displayTimeWindows](https://developer.android.com/reference/kotlin/com/google/android/engage/travel/datamodel/PointOfInterestEntity#displayTimeWindows()) |
| [Address](https://developer.android.com/reference/kotlin/com/google/android/engage/common/datamodel/Address)`!`                                                                                                                                | [location](https://developer.android.com/reference/kotlin/com/google/android/engage/travel/datamodel/PointOfInterestEntity#location())                     |
| [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`!`                                                                                                                                                            | [title](https://developer.android.com/reference/kotlin/com/google/android/engage/travel/datamodel/PointOfInterestEntity#title())                           |

|                                                                                                                                                                                                                                                                                         ### Inherited functions                                                                                                                                                                                                                                                                                         |
|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| From[com.google.android.engage.common.datamodel.Entity](https://developer.android.com/reference/kotlin/com/google/android/engage/common/datamodel/Entity) |----------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------| | [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [getEntityType](https://developer.android.com/reference/kotlin/com/google/android/engage/common/datamodel/Entity#getEntityType())`()` | |

## Public functions

### getAvailabilityTimeWindow

```
fun getAvailabilityTimeWindow(): Optional<AvailabilityTimeWindow!>!
```

Returns availability time window for the point of interest entity.

This can refer to time the pointOfInterest entity is opened for the day/dates between which the point of interest is available.  

### getBadgeList

```
fun getBadgeList(): (Mutable)List<Badge!>!
```

Returns the list of badges (image/text) for the point of interest entity. e.g. "7 wonder of the world", "Best trail 2024"  

### getContentCategoryList

```
fun getContentCategoryList(): (Mutable)List<Int!>!
```

Returns content categories of the point of interest entity.  

### getDescription

```
fun getDescription(): Optional<String!>!
```

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

### getEntityId

```
fun getEntityId(): Optional<String!>!
```

Returns the id of the entity.  

### getLastEngagementTime

```
fun getLastEngagementTime(): Optional<Instant!>!
```

Returns last engagement time for the point of interest entity.

Optional.  

### getPosterImages

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

Returns the poster image of the entity.  

### getPrice

```
fun getPrice(): Optional<Price!>!
```

Returns the price of the point of interest entity.  

### getPriceCallout

```
fun getPriceCallout(): Optional<String!>!
```

Returns the price callout for the point of interest entity. e.g. "Limited offer"  

### getRating

```
fun getRating(): Optional<Rating!>!
```

Returns the rating of the point of interest entity.  

### getSubtitleList

```
fun getSubtitleList(): (Mutable)List<String!>!
```

Returns the list of subtitles for the point of interest entity. e.g. "Trail length", "Elev. Gain", "Duration", "Difficulty level", "Day trips", "Safari", etc.  

## Public properties

### actionLinkUri

```
val actionLinkUri: Uri!
```  

### displayTimeWindows

```
val displayTimeWindows: ImmutableList<DisplayTimeWindow!>!
```  

### location

```
val location: Address!
```  

### title

```
val title: String!
```