# StoreEntity

# StoreEntity

*** ** * ** ***

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

<br />

```
public final class StoreEntity extends Entity
```

<br />

|---|---|------------------------------------------------------------------------------------------------------------------------------------------------------|
| [java.lang.Object](https://developer.android.com/reference/java/lang/Object.html)                                                                          |||
| ↳ | [com.google.android.engage.common.datamodel.Entity](https://developer.android.com/reference/com/google/android/engage/common/datamodel/Entity)          ||
|   | ↳ | [com.google.android.engage.food.datamodel.StoreEntity](https://developer.android.com/reference/com/google/android/engage/food/datamodel/StoreEntity) |

*** ** * ** ***

An object representing a store entity. (e.g., a restaurant or grocery store)

## Summary

|                                                                                                                                ### Nested types                                                                                                                                |
|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `public final class `[StoreEntity.Builder](https://developer.android.com/reference/com/google/android/engage/food/datamodel/StoreEntity.Builder) Builder class for[StoreEntity](https://developer.android.com/reference/com/google/android/engage/food/datamodel/StoreEntity). |

|                                                                                                               ### Public fields                                                                                                               |
|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------|
| `final `[ImmutableList](https://guava.dev/releases/21.0/api/docs/com/google/common/collect/ImmutableList.html)`<`[DisplayTimeWindow](https://developer.android.com/reference/com/google/android/engage/common/datamodel/DisplayTimeWindow)`>` | [displayTimeWindows](https://developer.android.com/reference/com/google/android/engage/food/datamodel/StoreEntity#displayTimeWindows()) |

|                                                                                                          ### Public methods                                                                                                           |
|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [Uri](https://developer.android.com/reference/android/net/Uri.html)                                                                                                                                                                   | [getActionLinkUri](https://developer.android.com/reference/com/google/android/engage/food/datamodel/StoreEntity#getActionLinkUri())`()` Returns the action link uri of the food entity.                              |
| [Optional](https://guava.dev/releases/21.0/api/docs/com/google/common/base/Optional.html)`<`[String](https://developer.android.com/reference/java/lang/String.html)`>`                                                                | [getCallout](https://developer.android.com/reference/com/google/android/engage/food/datamodel/StoreEntity#getCallout())`()` Returns the callout text for the store. e.g. "Free delivery"                             |
| [Optional](https://guava.dev/releases/21.0/api/docs/com/google/common/base/Optional.html)`<`[String](https://developer.android.com/reference/java/lang/String.html)`>`                                                                | [getCalloutFinePrint](https://developer.android.com/reference/com/google/android/engage/food/datamodel/StoreEntity#getCalloutFinePrint())`()` Returns the fine print for the callout text e.g. "Limited time offer"  |
| [Optional](https://guava.dev/releases/21.0/api/docs/com/google/common/base/Optional.html)`<`[String](https://developer.android.com/reference/java/lang/String.html)`>`                                                                | [getCategory](https://developer.android.com/reference/com/google/android/engage/food/datamodel/StoreEntity#getCategory())`()` Returns the category of the store. e.g. cuisine of the restaurant: "Italian"           |
| [Optional](https://guava.dev/releases/21.0/api/docs/com/google/common/base/Optional.html)`<`[String](https://developer.android.com/reference/java/lang/String.html)`>`                                                                | [getDescription](https://developer.android.com/reference/com/google/android/engage/food/datamodel/StoreEntity#getDescription())`()` Returns the description of the store.                                            |
| [ImmutableList](https://guava.dev/releases/21.0/api/docs/com/google/common/collect/ImmutableList.html)`<`[DisplayTimeWindow](https://developer.android.com/reference/com/google/android/engage/common/datamodel/DisplayTimeWindow)`>` | [getDisplayTimeWindows](https://developer.android.com/reference/com/google/android/engage/food/datamodel/StoreEntity#getDisplayTimeWindows())`()` Returns the display time windows associated with the store entity. |
| [Optional](https://guava.dev/releases/21.0/api/docs/com/google/common/base/Optional.html)`<`[String](https://developer.android.com/reference/java/lang/String.html)`>`                                                                | [getEntityId](https://developer.android.com/reference/com/google/android/engage/food/datamodel/StoreEntity#getEntityId())`()` Returns the id of the entity.                                                          |
| [Optional](https://guava.dev/releases/21.0/api/docs/com/google/common/base/Optional.html)`<`[String](https://developer.android.com/reference/java/lang/String.html)`>`                                                                | [getLocation](https://developer.android.com/reference/com/google/android/engage/food/datamodel/StoreEntity#getLocation())`()` Returns the location of the store.                                                     |
| [List](https://developer.android.com/reference/java/util/List.html)`<`[Image](https://developer.android.com/reference/com/google/android/engage/common/datamodel/Image)`>`                                                            | [getPosterImages](https://developer.android.com/reference/com/google/android/engage/food/datamodel/StoreEntity#getPosterImages())`()` Returns the poster image of the entity.                                        |
| [Optional](https://guava.dev/releases/21.0/api/docs/com/google/common/base/Optional.html)`<`[Rating](https://developer.android.com/reference/com/google/android/engage/common/datamodel/Rating)`>`                                    | [getRating](https://developer.android.com/reference/com/google/android/engage/food/datamodel/StoreEntity#getRating())`()` Returns the rating of the food entity.                                                     |
| [Optional](https://guava.dev/releases/21.0/api/docs/com/google/common/base/Optional.html)`<`[String](https://developer.android.com/reference/java/lang/String.html)`>`                                                                | [getTitle](https://developer.android.com/reference/com/google/android/engage/food/datamodel/StoreEntity#getTitle())`()` Returns the title of the food entity.                                                        |

|                                                                                                                                                                                                          ### Inherited methods                                                                                                                                                                                                           |
|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| From[com.google.android.engage.common.datamodel.Entity](https://developer.android.com/reference/com/google/android/engage/common/datamodel/Entity) |-------|--------------------------------------------------------------------------------------------------------------------------------| | `int` | [getEntityType](https://developer.android.com/reference/com/google/android/engage/common/datamodel/Entity#getEntityType())`()` | |

## Public fields

### displayTimeWindows

```
public final ImmutableList<DisplayTimeWindow> displayTimeWindows
```  

## Public methods

### getActionLinkUri

```
public Uri getActionLinkUri()
```

Returns the action link uri of the food entity.  

### getCallout

```
public Optional<String> getCallout()
```

Returns the callout text for the store. e.g. "Free delivery"  

### getCalloutFinePrint

```
public Optional<String> getCalloutFinePrint()
```

Returns the fine print for the callout text e.g. "Limited time offer"  

### getCategory

```
public Optional<String> getCategory()
```

Returns the category of the store. e.g. cuisine of the restaurant: "Italian"  

### getDescription

```
public Optional<String> getDescription()
```

Returns the description of the store.  

### getDisplayTimeWindows

```
public ImmutableList<DisplayTimeWindow> getDisplayTimeWindows()
```

Returns the display time windows associated with the store entity.  

### getEntityId

```
public Optional<String> getEntityId()
```

Returns the id of the entity.  

### getLocation

```
public Optional<String> getLocation()
```

Returns the location of the store.  

### getPosterImages

```
public List<Image> getPosterImages()
```

Returns the poster image of the entity.  

### getRating

```
public Optional<Rating> getRating()
```

Returns the rating of the food entity.  

### getTitle

```
public Optional<String> getTitle()
```

Returns the title of the food entity.