# StoreEntity.Builder

# StoreEntity.Builder

*** ** * ** ***

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

<br />

```
class StoreEntity.Builder
```

<br />

*** ** * ** ***

Builder class for[StoreEntity](https://developer.android.com/reference/kotlin/com/google/android/engage/food/datamodel/StoreEntity).

## Summary

|                                                       ### Public constructors                                                        |
|--------------------------------------------------------------------------------------------------------------------------------------|
| [Builder](https://developer.android.com/reference/kotlin/com/google/android/engage/food/datamodel/StoreEntity.Builder#Builder())`()` |

|                                                         ### Public functions                                                          |
|---------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [StoreEntity.Builder](https://developer.android.com/reference/kotlin/com/google/android/engage/food/datamodel/StoreEntity.Builder)`!` | `@`[CanIgnoreReturnValue](https://errorprone.info/api/latest/com/google/errorprone/annotations/CanIgnoreReturnValue.html) [addAllDisplayTimeWindow](https://developer.android.com/reference/kotlin/com/google/android/engage/food/datamodel/StoreEntity.Builder#addAllDisplayTimeWindow(java.util.List<com.google.android.engage.common.datamodel.DisplayTimeWindow>))`(` ` displayTimeWindows: (`[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)`<`[DisplayTimeWindow](https://developer.android.com/reference/kotlin/com/google/android/engage/common/datamodel/DisplayTimeWindow)`!>!` `)` Adds display time windows for the store entity. |
| [StoreEntity.Builder](https://developer.android.com/reference/kotlin/com/google/android/engage/food/datamodel/StoreEntity.Builder)`!` | `@`[CanIgnoreReturnValue](https://errorprone.info/api/latest/com/google/errorprone/annotations/CanIgnoreReturnValue.html) [addDisplayTimeWindow](https://developer.android.com/reference/kotlin/com/google/android/engage/food/datamodel/StoreEntity.Builder#addDisplayTimeWindow(com.google.android.engage.common.datamodel.DisplayTimeWindow))`(displayTimeWindow: `[DisplayTimeWindow](https://developer.android.com/reference/kotlin/com/google/android/engage/common/datamodel/DisplayTimeWindow)`!)` Adds a display time window for the store entity.                                                                                                                                                                                                                                  |
| [StoreEntity.Builder](https://developer.android.com/reference/kotlin/com/google/android/engage/food/datamodel/StoreEntity.Builder)`!` | `@`[CanIgnoreReturnValue](https://errorprone.info/api/latest/com/google/errorprone/annotations/CanIgnoreReturnValue.html) [addPosterImage](https://developer.android.com/reference/kotlin/com/google/android/engage/food/datamodel/StoreEntity.Builder#addPosterImage(com.google.android.engage.common.datamodel.Image))`(image: `[Image](https://developer.android.com/reference/kotlin/com/google/android/engage/common/datamodel/Image)`!)` Add a poster image of the entity.                                                                                                                                                                                                                                                                                                             |
| [StoreEntity.Builder](https://developer.android.com/reference/kotlin/com/google/android/engage/food/datamodel/StoreEntity.Builder)`!` | `@`[CanIgnoreReturnValue](https://errorprone.info/api/latest/com/google/errorprone/annotations/CanIgnoreReturnValue.html) [addPosterImages](https://developer.android.com/reference/kotlin/com/google/android/engage/food/datamodel/StoreEntity.Builder#addPosterImages(java.util.List<com.google.android.engage.common.datamodel.Image>))`(images: (`[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)`!>!)` Add poster images of the entity.                                                                                       |
| [StoreEntity](https://developer.android.com/reference/kotlin/com/google/android/engage/food/datamodel/StoreEntity)`!`                 | [build](https://developer.android.com/reference/kotlin/com/google/android/engage/food/datamodel/StoreEntity.Builder#build())`()`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| [StoreEntity.Builder](https://developer.android.com/reference/kotlin/com/google/android/engage/food/datamodel/StoreEntity.Builder)`!` | `@`[CanIgnoreReturnValue](https://errorprone.info/api/latest/com/google/errorprone/annotations/CanIgnoreReturnValue.html) [setActionLinkUri](https://developer.android.com/reference/kotlin/com/google/android/engage/food/datamodel/StoreEntity.Builder#setActionLinkUri(android.net.Uri))`(actionLinkUri: `[Uri](https://developer.android.com/reference/android/net/Uri.html)`!)` Sets the action link uri for the store entity.                                                                                                                                                                                                                                                                                                                                                          |
| [StoreEntity.Builder](https://developer.android.com/reference/kotlin/com/google/android/engage/food/datamodel/StoreEntity.Builder)`!` | `@`[CanIgnoreReturnValue](https://errorprone.info/api/latest/com/google/errorprone/annotations/CanIgnoreReturnValue.html) [setCallout](https://developer.android.com/reference/kotlin/com/google/android/engage/food/datamodel/StoreEntity.Builder#setCallout(java.lang.String))`(callout: `[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`!)` Sets the callout of the store. e.g. "Free delivery"                                                                                                                                                                                                                                                                                                                                                         |
| [StoreEntity.Builder](https://developer.android.com/reference/kotlin/com/google/android/engage/food/datamodel/StoreEntity.Builder)`!` | `@`[CanIgnoreReturnValue](https://errorprone.info/api/latest/com/google/errorprone/annotations/CanIgnoreReturnValue.html) [setCalloutFinePrint](https://developer.android.com/reference/kotlin/com/google/android/engage/food/datamodel/StoreEntity.Builder#setCalloutFinePrint(java.lang.String))`(calloutFinePrint: `[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`!)` Sets the fine print of the callout. e.g. "Limited time only"                                                                                                                                                                                                                                                                                                                     |
| [StoreEntity.Builder](https://developer.android.com/reference/kotlin/com/google/android/engage/food/datamodel/StoreEntity.Builder)`!` | `@`[CanIgnoreReturnValue](https://errorprone.info/api/latest/com/google/errorprone/annotations/CanIgnoreReturnValue.html) [setCategory](https://developer.android.com/reference/kotlin/com/google/android/engage/food/datamodel/StoreEntity.Builder#setCategory(java.lang.String))`(category: `[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`!)` Sets the category of the store. e.g. cuisine type of restaurant: "Italian"                                                                                                                                                                                                                                                                                                                               |
| [StoreEntity.Builder](https://developer.android.com/reference/kotlin/com/google/android/engage/food/datamodel/StoreEntity.Builder)`!` | `@`[CanIgnoreReturnValue](https://errorprone.info/api/latest/com/google/errorprone/annotations/CanIgnoreReturnValue.html) [setDescription](https://developer.android.com/reference/kotlin/com/google/android/engage/food/datamodel/StoreEntity.Builder#setDescription(java.lang.String))`(description: `[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`!)` Sets the description of the store.                                                                                                                                                                                                                                                                                                                                                              |
| [StoreEntity.Builder](https://developer.android.com/reference/kotlin/com/google/android/engage/food/datamodel/StoreEntity.Builder)`!` | `@`[CanIgnoreReturnValue](https://errorprone.info/api/latest/com/google/errorprone/annotations/CanIgnoreReturnValue.html) [setEntityId](https://developer.android.com/reference/kotlin/com/google/android/engage/food/datamodel/StoreEntity.Builder#setEntityId(java.lang.String))`(entityId: `[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`!)` Sets content id of the entity.                                                                                                                                                                                                                                                                                                                                                                           |
| [StoreEntity.Builder](https://developer.android.com/reference/kotlin/com/google/android/engage/food/datamodel/StoreEntity.Builder)`!` | `@`[CanIgnoreReturnValue](https://errorprone.info/api/latest/com/google/errorprone/annotations/CanIgnoreReturnValue.html) [setLocation](https://developer.android.com/reference/kotlin/com/google/android/engage/food/datamodel/StoreEntity.Builder#setLocation(java.lang.String))`(location: `[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`!)` Sets the location of the store.                                                                                                                                                                                                                                                                                                                                                                          |
| [StoreEntity.Builder](https://developer.android.com/reference/kotlin/com/google/android/engage/food/datamodel/StoreEntity.Builder)`!` | `@`[CanIgnoreReturnValue](https://errorprone.info/api/latest/com/google/errorprone/annotations/CanIgnoreReturnValue.html) [setRating](https://developer.android.com/reference/kotlin/com/google/android/engage/food/datamodel/StoreEntity.Builder#setRating(com.google.android.engage.common.datamodel.Rating))`(rating: `[Rating](https://developer.android.com/reference/kotlin/com/google/android/engage/common/datamodel/Rating)`!)` Sets the rating for the store entity.                                                                                                                                                                                                                                                                                                               |
| [StoreEntity.Builder](https://developer.android.com/reference/kotlin/com/google/android/engage/food/datamodel/StoreEntity.Builder)`!` | `@`[CanIgnoreReturnValue](https://errorprone.info/api/latest/com/google/errorprone/annotations/CanIgnoreReturnValue.html) [setTitle](https://developer.android.com/reference/kotlin/com/google/android/engage/food/datamodel/StoreEntity.Builder#setTitle(java.lang.String))`(title: `[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`!)` Sets the title of the store entity.                                                                                                                                                                                                                                                                                                                                                                               |

## Public constructors

### Builder

```
Builder()
```  

## Public functions

### addAllDisplayTimeWindow

```
@CanIgnoreReturnValue
fun addAllDisplayTimeWindow(
    displayTimeWindows: (Mutable)List<DisplayTimeWindow!>!
): StoreEntity.Builder!
```

Adds display time windows for the store entity.

Optional.  

### addDisplayTimeWindow

```
@CanIgnoreReturnValue
fun addDisplayTimeWindow(displayTimeWindow: DisplayTimeWindow!): StoreEntity.Builder!
```

Adds a display time window for the store entity.

Optional.  

### addPosterImage

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

Add a poster image of the entity.

Required.  

### addPosterImages

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

Add poster images of the entity.

Required.  

### build

```
fun build(): StoreEntity!
```  

### setActionLinkUri

```
@CanIgnoreReturnValue
fun setActionLinkUri(actionLinkUri: Uri!): StoreEntity.Builder!
```

Sets the action link uri for the store entity.

Required.  

### setCallout

```
@CanIgnoreReturnValue
fun setCallout(callout: String!): StoreEntity.Builder!
```

Sets the callout of the store. e.g. "Free delivery"

Optional.  

### setCalloutFinePrint

```
@CanIgnoreReturnValue
fun setCalloutFinePrint(calloutFinePrint: String!): StoreEntity.Builder!
```

Sets the fine print of the callout. e.g. "Limited time only"

Optional.  

### setCategory

```
@CanIgnoreReturnValue
fun setCategory(category: String!): StoreEntity.Builder!
```

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

Optional.  

### setDescription

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

Sets the description of the store.

Optional.  

### setEntityId

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

Sets content id of the entity.

Optional.  

### setLocation

```
@CanIgnoreReturnValue
fun setLocation(location: String!): StoreEntity.Builder!
```

Sets the location of the store.

Optional.  

### setRating

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

Sets the rating for the store entity.

Optional.  

### setTitle

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

Sets the title of the store entity.

Optional.