ShoppingReorderCluster


public final class ShoppingReorderCluster


An object representing a Shopping Reorder Cluster.

Summary

Nested types

Builder class for ShoppingReorderCluster.

Public methods

Uri

Returns the action link of the shopping cart.

Optional<String>

Returns the action text of the shopping cart. e.g. "View Cart"

int
List<DisplayTimeWindow>

Returns the display time window associated with the shopping cart.

List<String>

Returns the labels of the items in the shopping cart

int

Returns the number of items in the shopping cart.

List<Image>

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

Optional<String>

Returns the title of the shopping cart.

Public methods

getActionLinkUri

public Uri getActionLinkUri()

Returns the action link of the shopping cart.

getActionText

public Optional<StringgetActionText()

Returns the action text of the shopping cart. e.g. "View Cart"

getClusterType

public int getClusterType()

getDisplayTimeWindows

public List<DisplayTimeWindowgetDisplayTimeWindows()

Returns the display time window associated with the shopping cart.

This can be used for several use cases like shopping cart expiry time window.

getItemLabels

public List<StringgetItemLabels()

Returns the labels of the items in the shopping cart

getNumberOfItems

public int getNumberOfItems()

Returns the number of items in the shopping cart.

getPosterImages

public List<ImagegetPosterImages()

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

getTitle

public Optional<StringgetTitle()

Returns the title of the shopping cart.