# FoodShoppingList

# FoodShoppingList

*** ** * ** ***

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

<br />

```
class FoodShoppingList
```

<br />

*** ** * ** ***

An object representing a Shopping List for food items.

## Summary

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

|                                                                                                                                               ### 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/FoodShoppingList#getActionLinkUri())`()` Returns the action link of the shopping list.              |
| [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/FoodShoppingList#getActionText())`()` Returns the action text of the shopping list. e.g. "View List"   |
| [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/FoodShoppingList#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)`<`[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/FoodShoppingList#getItemLabels())`()` Returns the labels of the items in the shopping list             |
| [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/FoodShoppingList#getNumberOfItems())`()` Returns the number of items in the shopping list.          |
| `(`[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/FoodShoppingList#getPosterImages())`()` Returns the poster images of the items in the shopping list. |
| [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/FoodShoppingList#getTitle())`()` Returns the title of the shopping list.                                    |

## Public functions

### getActionLinkUri

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

Returns the action link of the shopping list.  

### getActionText

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

Returns the action text of the shopping list. e.g. "View List"  

### getClusterType

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

### getItemLabels

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

Returns the labels of the items in the shopping list  

### getNumberOfItems

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

Returns the number of items in the shopping list.  

### getPosterImages

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

Returns the poster images of the items in the shopping list.  

### getTitle

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

Returns the title of the shopping list.