ShoppingReorderCluster


class ShoppingReorderCluster


An object representing a Shopping Reorder Cluster.

Summary

Nested types

Builder class for ShoppingReorderCluster.

Public functions

Uri!

Returns the action link of the shopping cart.

Optional<String!>!

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

Int
(Mutable)List<DisplayTimeWindow!>!

Returns the display time window associated with the shopping cart.

(Mutable)List<String!>!

Returns the labels of the items in the shopping cart

Int

Returns the number of items in the shopping cart.

(Mutable)List<Image!>!

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

Optional<String!>!

Returns the title of the shopping cart.

Public functions

getActionLinkUri

fun getActionLinkUri(): Uri!

Returns the action link of the shopping cart.

getActionText

fun getActionText(): Optional<String!>!

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

getClusterType

fun getClusterType(): Int

getDisplayTimeWindows

fun getDisplayTimeWindows(): (Mutable)List<DisplayTimeWindow!>!

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

fun getItemLabels(): (Mutable)List<String!>!

Returns the labels of the items in the shopping cart

getNumberOfItems

fun getNumberOfItems(): Int

Returns the number of items in the shopping cart.

getPosterImages

fun getPosterImages(): (Mutable)List<Image!>!

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

getTitle

fun getTitle(): Optional<String!>!

Returns the title of the shopping cart.