# FoodReorderCluster

# FoodReorderCluster

*** ** * ** ***

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

<br />

```
class FoodReorderCluster
```

<br />

*** ** * ** ***

An object representing a Food Reorder Cluster.

## Summary

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

|                                                                                                                                                           ### Public functions                                                                                                                                                            |
|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [Uri](https://developer.android.com/reference/android/net/Uri.html)`!`                                                                                                                                                                                                                                                                    | [getActionLinkUri](https://developer.android.com/reference/kotlin/com/google/android/engage/food/datamodel/FoodReorderCluster#getActionLinkUri())`()` Returns the action link of the reorder cluster.                                |
| [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)`!>!`                                                                                                                                                         | [getActionText](https://developer.android.com/reference/kotlin/com/google/android/engage/food/datamodel/FoodReorderCluster#getActionText())`()` Returns the action text of the reorder cluster. e.g. "View Cart"                     |
| [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)                                                                                                                                                                                                                                                                | [getClusterType](https://developer.android.com/reference/kotlin/com/google/android/engage/food/datamodel/FoodReorderCluster#getClusterType())`()`                                                                                    |
| `(`[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)`!>!` | [getDisplayTimeWindows](https://developer.android.com/reference/kotlin/com/google/android/engage/food/datamodel/FoodReorderCluster#getDisplayTimeWindows())`()` Returns the display time window associated with the reorder cluster. |
| `(`[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)`!>!`                                                 | [getItemLabels](https://developer.android.com/reference/kotlin/com/google/android/engage/food/datamodel/FoodReorderCluster#getItemLabels())`()` Returns the labels of the items in the reorder cluster                               |
| [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)                                                                                                                                                                                                                                                                | [getNumberOfItems](https://developer.android.com/reference/kotlin/com/google/android/engage/food/datamodel/FoodReorderCluster#getNumberOfItems())`()` Returns the number of items in the reorder cluster.                            |
| `(`[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/food/datamodel/FoodReorderCluster#getPosterImages())`()` Returns the poster images of the items in the reorder cluster.                   |
| [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)`!>!`                                                                                                                                                         | [getTitle](https://developer.android.com/reference/kotlin/com/google/android/engage/food/datamodel/FoodReorderCluster#getTitle())`()` Returns the title of the reorder cluster.                                                      |

## Public functions

### getActionLinkUri

```
fun getActionLinkUri(): Uri!
```

Returns the action link of the reorder cluster.  

### getActionText

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

Returns the action text of the reorder cluster. e.g. "View Cart"  

### getClusterType

```
fun getClusterType(): Int
```  

### getDisplayTimeWindows

```
fun getDisplayTimeWindows(): (Mutable)List<DisplayTimeWindow!>!
```

Returns the display time window associated with the reorder cluster.

This can be used for reorder cluster expiry time window.  

### getItemLabels

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

Returns the labels of the items in the reorder cluster  

### getNumberOfItems

```
fun getNumberOfItems(): Int
```

Returns the number of items in the reorder cluster.  

### getPosterImages

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

Returns the poster images of the items in the reorder cluster.  

### getTitle

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

Returns the title of the reorder cluster.