FoodReorderCluster

public final class FoodReorderCluster extends Object

An object representing a Food Reorder Cluster.

Nested Class Summary

class FoodReorderCluster.Builder Builder class for FoodReorderCluster

Public Method Summary

Uri
getActionLinkUri()
Returns the action link of the reorder cluster.
Optional<String>
getActionText()
Returns the action text of the reorder cluster.
int
List<DisplayTimeWindow>
getDisplayTimeWindows()
Returns the display time window associated with the reorder cluster.
List<String>
getItemLabels()
Returns the labels of the items in the reorder cluster
int
getNumberOfItems()
Returns the number of items in the reorder cluster.
List<Image>
getPosterImages()
Returns the poster images of the items in the reorder cluster.
Optional<String>
getTitle()
Returns the title of the reorder cluster.

Inherited Method Summary

Public Methods

public Uri getActionLinkUri ()

Returns the action link of the reorder cluster.

public Optional<String> getActionText ()

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

public int getClusterType ()

public List<DisplayTimeWindow> getDisplayTimeWindows ()

Returns the display time window associated with the reorder cluster.

This can be used for reorder cluster expiry time window.

public List<String> getItemLabels ()

Returns the labels of the items in the reorder cluster

public int getNumberOfItems ()

Returns the number of items in the reorder cluster.

public List<Image> getPosterImages ()

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

public Optional<String> getTitle ()

Returns the title of the reorder cluster.