FoodReorderCluster


class FoodReorderCluster


An object representing a Food Reorder Cluster.

Summary

Nested types

Builder class for FoodReorderCluster.

Public functions

Uri!

Returns the action link of the reorder cluster.

Optional<String!>!

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

Int
(Mutable)List<DisplayTimeWindow!>!

Returns the display time window associated with the reorder cluster.

(Mutable)List<String!>!

Returns the labels of the items in the reorder cluster

Int

Returns the number of items in the reorder cluster.

(Mutable)List<Image!>!

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

Optional<String!>!

Returns the title of the reorder cluster.

Public functions

getActionLinkUri

fun getActionLinkUri(): Uri!

Returns the action link of the reorder cluster.

getActionText

fun getActionText(): Optional<String!>!

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

getClusterType

fun getClusterType(): Int

getDisplayTimeWindows

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

Returns the display time window associated with the reorder cluster.

This can be used for reorder cluster expiry time window.

getItemLabels

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

Returns the labels of the items in the reorder cluster

getNumberOfItems

fun getNumberOfItems(): Int

Returns the number of items in the reorder cluster.

getPosterImages

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

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

getTitle

fun getTitle(): Optional<String!>!

Returns the title of the reorder cluster.