ShoppingList


public final class ShoppingList


An object representing a Shopping List for shopping vertical.

Summary

Nested types

public final class ShoppingList.Builder

Builder class for ShoppingList.

Public methods

Uri

Returns the action link of the shopping list.

Optional<String>

Returns the action text of the shopping list. e.g. "View List"

int
List<String>

Returns the labels of the items in the shopping list

int

Returns the number of items in the shopping list.

List<Image>

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

Optional<String>

Returns the title of the shopping list.

Public methods

getActionLinkUri

public Uri getActionLinkUri()

Returns the action link of the shopping list.

getActionText

public Optional<StringgetActionText()

Returns the action text of the shopping list. e.g. "View List"

getClusterType

public int getClusterType()

getItemLabels

public List<StringgetItemLabels()

Returns the labels of the items in the shopping list

getNumberOfItems

public int getNumberOfItems()

Returns the number of items in the shopping list.

getPosterImages

public List<ImagegetPosterImages()

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

getTitle

public Optional<StringgetTitle()

Returns the title of the shopping list.