# PublishFoodShoppingCartClusterRequest

# PublishFoodShoppingCartClusterRequest

*** ** * ** ***

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

<br />

```
public class PublishFoodShoppingCartClusterRequest
```

<br />

*** ** * ** ***

Request to publish shopping cart cluster for food related items.

## Summary

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

|                                                       ### Public fields                                                       |
|-------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------|
| `final `[FoodShoppingCart](https://developer.android.com/reference/com/google/android/engage/food/datamodel/FoodShoppingCart) | [shoppingCart](https://developer.android.com/reference/com/google/android/engage/food/service/PublishFoodShoppingCartClusterRequest#shoppingCart()) |

|                                                  ### Public methods                                                   |
|-----------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [FoodShoppingCart](https://developer.android.com/reference/com/google/android/engage/food/datamodel/FoodShoppingCart) | [getShoppingCart](https://developer.android.com/reference/com/google/android/engage/food/service/PublishFoodShoppingCartClusterRequest#getShoppingCart())`()` Returns the[FoodShoppingCart](https://developer.android.com/reference/com/google/android/engage/food/datamodel/FoodShoppingCart). |

## Public fields

### shoppingCart

```
public final FoodShoppingCart shoppingCart
```  

## Public methods

### getShoppingCart

```
public FoodShoppingCart getShoppingCart()
```

Returns the[FoodShoppingCart](https://developer.android.com/reference/com/google/android/engage/food/datamodel/FoodShoppingCart).