# ShoppingOrderTrackingCluster.Builder

# ShoppingOrderTrackingCluster.Builder

*** ** * ** ***

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

<br />

```
class ShoppingOrderTrackingCluster.Builder
```

<br />

*** ** * ** ***

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

## Summary

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

|                                                                            ### Public functions                                                                             |
|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [ShoppingOrderTrackingCluster.Builder](https://developer.android.com/reference/kotlin/com/google/android/engage/shopping/datamodel/ShoppingOrderTrackingCluster.Builder)`!` | `@`[CanIgnoreReturnValue](https://errorprone.info/api/latest/com/google/errorprone/annotations/CanIgnoreReturnValue.html) [addPosterImage](https://developer.android.com/reference/kotlin/com/google/android/engage/shopping/datamodel/ShoppingOrderTrackingCluster.Builder#addPosterImage(com.google.android.engage.common.datamodel.Image))`(image: `[Image](https://developer.android.com/reference/kotlin/com/google/android/engage/common/datamodel/Image)`!)` Adds a poster image of the items in the order tracking cluster.                                                                                                                                                                                                                       |
| [ShoppingOrderTrackingCluster.Builder](https://developer.android.com/reference/kotlin/com/google/android/engage/shopping/datamodel/ShoppingOrderTrackingCluster.Builder)`!` | `@`[CanIgnoreReturnValue](https://errorprone.info/api/latest/com/google/errorprone/annotations/CanIgnoreReturnValue.html) [addPosterImages](https://developer.android.com/reference/kotlin/com/google/android/engage/shopping/datamodel/ShoppingOrderTrackingCluster.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)`!>!)` Adds poster images of the items in the order tracking cluster. |
| [ShoppingOrderTrackingCluster.Builder](https://developer.android.com/reference/kotlin/com/google/android/engage/shopping/datamodel/ShoppingOrderTrackingCluster.Builder)`!` | `@`[CanIgnoreReturnValue](https://errorprone.info/api/latest/com/google/errorprone/annotations/CanIgnoreReturnValue.html) [addSubtitle](https://developer.android.com/reference/kotlin/com/google/android/engage/shopping/datamodel/ShoppingOrderTrackingCluster.Builder#addSubtitle(java.lang.String))`(subtitle: `[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`!)` Add a subtitle for the order tracking cluster.                                                                                                                                                                                                                                                                                                   |
| [ShoppingOrderTrackingCluster.Builder](https://developer.android.com/reference/kotlin/com/google/android/engage/shopping/datamodel/ShoppingOrderTrackingCluster.Builder)`!` | `@`[CanIgnoreReturnValue](https://errorprone.info/api/latest/com/google/errorprone/annotations/CanIgnoreReturnValue.html) [addSubtitles](https://developer.android.com/reference/kotlin/com/google/android/engage/shopping/datamodel/ShoppingOrderTrackingCluster.Builder#addSubtitles(java.util.List<java.lang.String>))`(subtitles: (`[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)`!>!)` Add subtitles for the order tracking cluster.                                                                             |
| [ShoppingOrderTrackingCluster](https://developer.android.com/reference/kotlin/com/google/android/engage/shopping/datamodel/ShoppingOrderTrackingCluster)`!`                 | [build](https://developer.android.com/reference/kotlin/com/google/android/engage/shopping/datamodel/ShoppingOrderTrackingCluster.Builder#build())`()`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| [ShoppingOrderTrackingCluster.Builder](https://developer.android.com/reference/kotlin/com/google/android/engage/shopping/datamodel/ShoppingOrderTrackingCluster.Builder)`!` | `@`[CanIgnoreReturnValue](https://errorprone.info/api/latest/com/google/errorprone/annotations/CanIgnoreReturnValue.html) [setActionLinkUri](https://developer.android.com/reference/kotlin/com/google/android/engage/shopping/datamodel/ShoppingOrderTrackingCluster.Builder#setActionLinkUri(android.net.Uri))`(actionLinkUri: `[Uri](https://developer.android.com/reference/android/net/Uri.html)`!)` Sets the action link uri for the food order tracking cluster.                                                                                                                                                                                                                                                                                   |
| [ShoppingOrderTrackingCluster.Builder](https://developer.android.com/reference/kotlin/com/google/android/engage/shopping/datamodel/ShoppingOrderTrackingCluster.Builder)`!` | `@`[CanIgnoreReturnValue](https://errorprone.info/api/latest/com/google/errorprone/annotations/CanIgnoreReturnValue.html) [setNumberOfItems](https://developer.android.com/reference/kotlin/com/google/android/engage/shopping/datamodel/ShoppingOrderTrackingCluster.Builder#setNumberOfItems(java.lang.Integer))`(numberOfItems: `[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)`!)` Sets the number of items in the order that is being tracked.                                                                                                                                                                                                                                                                           |
| [ShoppingOrderTrackingCluster.Builder](https://developer.android.com/reference/kotlin/com/google/android/engage/shopping/datamodel/ShoppingOrderTrackingCluster.Builder)`!` | `@`[CanIgnoreReturnValue](https://errorprone.info/api/latest/com/google/errorprone/annotations/CanIgnoreReturnValue.html) [setOrderDescription](https://developer.android.com/reference/kotlin/com/google/android/engage/shopping/datamodel/ShoppingOrderTrackingCluster.Builder#setOrderDescription(java.lang.String))`(orderDescription: `[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`!)` Sets the description of the order tracking cluster, typically containing a comma separated list of items in the order.                                                                                                                                                                                                   |
| [ShoppingOrderTrackingCluster.Builder](https://developer.android.com/reference/kotlin/com/google/android/engage/shopping/datamodel/ShoppingOrderTrackingCluster.Builder)`!` | `@`[CanIgnoreReturnValue](https://errorprone.info/api/latest/com/google/errorprone/annotations/CanIgnoreReturnValue.html) [setOrderReadyTimeWindow](https://developer.android.com/reference/kotlin/com/google/android/engage/shopping/datamodel/ShoppingOrderTrackingCluster.Builder#setOrderReadyTimeWindow(com.google.android.engage.common.datamodel.OrderReadyTimeWindow))`(orderReadyTimeWindow: `[OrderReadyTimeWindow](https://developer.android.com/reference/kotlin/com/google/android/engage/common/datamodel/OrderReadyTimeWindow)`!)` Sets the order ready time window for the order tracking cluster.                                                                                                                                        |
| [ShoppingOrderTrackingCluster.Builder](https://developer.android.com/reference/kotlin/com/google/android/engage/shopping/datamodel/ShoppingOrderTrackingCluster.Builder)`!` | `@`[CanIgnoreReturnValue](https://errorprone.info/api/latest/com/google/errorprone/annotations/CanIgnoreReturnValue.html) [setOrderTime](https://developer.android.com/reference/kotlin/com/google/android/engage/shopping/datamodel/ShoppingOrderTrackingCluster.Builder#setOrderTime(long))`(orderTime: `[Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html)`)` Sets the epoch timestamp (in milliseconds) of the order placed by the user.                                                                                                                                                                                                                                                                                    |
| [ShoppingOrderTrackingCluster.Builder](https://developer.android.com/reference/kotlin/com/google/android/engage/shopping/datamodel/ShoppingOrderTrackingCluster.Builder)`!` | `@`[CanIgnoreReturnValue](https://errorprone.info/api/latest/com/google/errorprone/annotations/CanIgnoreReturnValue.html) [setOrderValue](https://developer.android.com/reference/kotlin/com/google/android/engage/shopping/datamodel/ShoppingOrderTrackingCluster.Builder#setOrderValue(com.google.android.engage.common.datamodel.Price))`(orderValue: `[Price](https://developer.android.com/reference/kotlin/com/google/android/engage/common/datamodel/Price)`!)` Sets the total value of the order that is being tracked.                                                                                                                                                                                                                           |
| [ShoppingOrderTrackingCluster.Builder](https://developer.android.com/reference/kotlin/com/google/android/engage/shopping/datamodel/ShoppingOrderTrackingCluster.Builder)`!` | `@`[CanIgnoreReturnValue](https://errorprone.info/api/latest/com/google/errorprone/annotations/CanIgnoreReturnValue.html) [setShoppingOrderType](https://developer.android.com/reference/kotlin/com/google/android/engage/shopping/datamodel/ShoppingOrderTrackingCluster.Builder#setShoppingOrderType(int))`(@`[ShoppingOrderType](https://developer.android.com/reference/kotlin/com/google/android/engage/shopping/datamodel/ShoppingOrderType)` shoppingOrderType: `[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)`)` Sets the order type of the shopping order tracking cluster.                                                                                                                                         |
| [ShoppingOrderTrackingCluster.Builder](https://developer.android.com/reference/kotlin/com/google/android/engage/shopping/datamodel/ShoppingOrderTrackingCluster.Builder)`!` | `@`[CanIgnoreReturnValue](https://errorprone.info/api/latest/com/google/errorprone/annotations/CanIgnoreReturnValue.html) [setStatus](https://developer.android.com/reference/kotlin/com/google/android/engage/shopping/datamodel/ShoppingOrderTrackingCluster.Builder#setStatus(java.lang.String))`(status: `[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`!)` Sets the status of the order tracking cluster. e.g. "Running late", "Delivered", etc.                                                                                                                                                                                                                                                                  |
| [ShoppingOrderTrackingCluster.Builder](https://developer.android.com/reference/kotlin/com/google/android/engage/shopping/datamodel/ShoppingOrderTrackingCluster.Builder)`!` | `@`[CanIgnoreReturnValue](https://errorprone.info/api/latest/com/google/errorprone/annotations/CanIgnoreReturnValue.html) [setTitle](https://developer.android.com/reference/kotlin/com/google/android/engage/shopping/datamodel/ShoppingOrderTrackingCluster.Builder#setTitle(java.lang.String))`(title: `[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`!)` Sets the title of the order tracking cluster.                                                                                                                                                                                                                                                                                                             |
| [ShoppingOrderTrackingCluster.Builder](https://developer.android.com/reference/kotlin/com/google/android/engage/shopping/datamodel/ShoppingOrderTrackingCluster.Builder)`!` | `@`[CanIgnoreReturnValue](https://errorprone.info/api/latest/com/google/errorprone/annotations/CanIgnoreReturnValue.html) [setTrackingId](https://developer.android.com/reference/kotlin/com/google/android/engage/shopping/datamodel/ShoppingOrderTrackingCluster.Builder#setTrackingId(java.lang.String))`(trackingId: `[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`!)` Sets the tracking number/ID of the order that is being tracked.                                                                                                                                                                                                                                                                            |

## Public constructors

### Builder

```
Builder()
```  

## Public functions

### addPosterImage

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

Adds a poster image of the items in the order tracking cluster.

Optional.  

### addPosterImages

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

Adds poster images of the items in the order tracking cluster.

Optional.  

### addSubtitle

```
@CanIgnoreReturnValue
fun addSubtitle(subtitle: String!): ShoppingOrderTrackingCluster.Builder!
```

Add a subtitle for the order tracking cluster.

Optional.  

### addSubtitles

```
@CanIgnoreReturnValue
fun addSubtitles(subtitles: (Mutable)List<String!>!): ShoppingOrderTrackingCluster.Builder!
```

Add subtitles for the order tracking cluster.

Optional.  

### build

```
fun build(): ShoppingOrderTrackingCluster!
```  

### setActionLinkUri

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

Sets the action link uri for the food order tracking cluster.

Required.  

### setNumberOfItems

```
@CanIgnoreReturnValue
fun setNumberOfItems(numberOfItems: Int!): ShoppingOrderTrackingCluster.Builder!
```

Sets the number of items in the order that is being tracked.

When set to 0, there are no orders to be tracked.

Optional.  

### setOrderDescription

```
@CanIgnoreReturnValue
fun setOrderDescription(orderDescription: String!): ShoppingOrderTrackingCluster.Builder!
```

Sets the description of the order tracking cluster, typically containing a comma separated list of items in the order.

Optional.  

### setOrderReadyTimeWindow

```
@CanIgnoreReturnValue
fun setOrderReadyTimeWindow(orderReadyTimeWindow: OrderReadyTimeWindow!): ShoppingOrderTrackingCluster.Builder!
```

Sets the order ready time window for the order tracking cluster.

Optional.  

### setOrderTime

```
@CanIgnoreReturnValue
fun setOrderTime(orderTime: Long): ShoppingOrderTrackingCluster.Builder!
```

Sets the epoch timestamp (in milliseconds) of the order placed by the user.

Required.  

### setOrderValue

```
@CanIgnoreReturnValue
fun setOrderValue(orderValue: Price!): ShoppingOrderTrackingCluster.Builder!
```

Sets the total value of the order that is being tracked.

Optional.  

### setShoppingOrderType

```
@CanIgnoreReturnValue
fun setShoppingOrderType(@ShoppingOrderType shoppingOrderType: Int): ShoppingOrderTrackingCluster.Builder!
```

Sets the order type of the shopping order tracking cluster.

Required.  

### setStatus

```
@CanIgnoreReturnValue
fun setStatus(status: String!): ShoppingOrderTrackingCluster.Builder!
```

Sets the status of the order tracking cluster. e.g. "Running late", "Delivered", etc.

Required.  

### setTitle

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

Sets the title of the order tracking cluster.

Required.  

### setTrackingId

```
@CanIgnoreReturnValue
fun setTrackingId(trackingId: String!): ShoppingOrderTrackingCluster.Builder!
```

Sets the tracking number/ID of the order that is being tracked.

Optional.