# PublishFoodShoppingCartClusterRequest.Builder

# PublishFoodShoppingCartClusterRequest.Builder

*** ** * ** ***

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

<br />

```
class PublishFoodShoppingCartClusterRequest.Builder
```

<br />

*** ** * ** ***

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

## Summary

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

|                                                                                  ### Public functions                                                                                   |
|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [PublishFoodShoppingCartClusterRequest](https://developer.android.com/reference/kotlin/com/google/android/engage/food/service/PublishFoodShoppingCartClusterRequest)`!`                 | [build](https://developer.android.com/reference/kotlin/com/google/android/engage/food/service/PublishFoodShoppingCartClusterRequest.Builder#build())`()`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| [PublishFoodShoppingCartClusterRequest.Builder](https://developer.android.com/reference/kotlin/com/google/android/engage/food/service/PublishFoodShoppingCartClusterRequest.Builder)`!` | `@`[CanIgnoreReturnValue](https://errorprone.info/api/latest/com/google/errorprone/annotations/CanIgnoreReturnValue.html) [setShoppingCart](https://developer.android.com/reference/kotlin/com/google/android/engage/food/service/PublishFoodShoppingCartClusterRequest.Builder#setShoppingCart(com.google.android.engage.food.datamodel.FoodShoppingCart))`(shoppingCart: `[FoodShoppingCart](https://developer.android.com/reference/kotlin/com/google/android/engage/food/datamodel/FoodShoppingCart)`!)` Sets the[FoodShoppingCart](https://developer.android.com/reference/kotlin/com/google/android/engage/food/datamodel/FoodShoppingCart)in the request. |

## Public constructors

### Builder

```
Builder()
```  

## Public functions

### build

```
fun build(): PublishFoodShoppingCartClusterRequest!
```  

### setShoppingCart

```
@CanIgnoreReturnValue
fun setShoppingCart(shoppingCart: FoodShoppingCart!): PublishFoodShoppingCartClusterRequest.Builder!
```

Sets the[FoodShoppingCart](https://developer.android.com/reference/kotlin/com/google/android/engage/food/datamodel/FoodShoppingCart)in the request.

Required.