ShoppingOrderTrackingCluster.Builder


class ShoppingOrderTrackingCluster.Builder


Builder class for ShoppingOrderTrackingCluster.

Summary

Public constructors

Public functions

ShoppingOrderTrackingCluster.Builder!

Adds a poster image of the items in the order tracking cluster.

ShoppingOrderTrackingCluster.Builder!

Adds poster images of the items in the order tracking cluster.

ShoppingOrderTrackingCluster.Builder!

Add a subtitle for the order tracking cluster.

ShoppingOrderTrackingCluster.Builder!

Add subtitles for the order tracking cluster.

ShoppingOrderTrackingCluster!
ShoppingOrderTrackingCluster.Builder!

Sets the action link uri for the food order tracking cluster.

ShoppingOrderTrackingCluster.Builder!

Sets the number of items in the order that is being tracked.

ShoppingOrderTrackingCluster.Builder!

Sets the description of the order tracking cluster, typically containing a comma separated list of items in the order.

ShoppingOrderTrackingCluster.Builder!

Sets the order ready time window for the order tracking cluster.

ShoppingOrderTrackingCluster.Builder!

Sets the epoch timestamp (in milliseconds) of the order placed by the user.

ShoppingOrderTrackingCluster.Builder!

Sets the total value of the order that is being tracked.

ShoppingOrderTrackingCluster.Builder!

Sets the order type of the shopping order tracking cluster.

ShoppingOrderTrackingCluster.Builder!

Sets the status of the order tracking cluster. e.g. "Running late", "Delivered", etc.

ShoppingOrderTrackingCluster.Builder!

Sets the title of the order tracking cluster.

ShoppingOrderTrackingCluster.Builder!

Sets the tracking number/ID of the order that is being tracked.

Public constructors

Builder

Builder()

Public functions

addPosterImage

@CanIgnoreReturnValue
fun addPosterImage(image: Image!): ShoppingOrderTrackingCluster.Builder!

Adds a poster image of the items in the order tracking cluster.

Optional.

addPosterImages

@CanIgnoreReturnValue
fun addPosterImages(images: (Mutable)List<Image!>!): ShoppingOrderTrackingCluster.Builder!

Adds poster images of the items in the order tracking cluster.

Optional.

addSubtitle

@CanIgnoreReturnValue
fun addSubtitle(subtitle: String!): ShoppingOrderTrackingCluster.Builder!

Add a subtitle for the order tracking cluster.

Optional.

addSubtitles

@CanIgnoreReturnValue
fun addSubtitles(subtitles: (Mutable)List<String!>!): ShoppingOrderTrackingCluster.Builder!

Add subtitles for the order tracking cluster.

Optional.

setActionLinkUri

@CanIgnoreReturnValue
fun setActionLinkUri(actionLinkUri: Uri!): ShoppingOrderTrackingCluster.Builder!

Sets the action link uri for the food order tracking cluster.

Required.

setNumberOfItems

@CanIgnoreReturnValue
fun setNumberOfItems(numberOfItems: Int!): ShoppingOrderTrackingCluster.Builder!

Sets the number of items in the order that is being tracked.

When set to 0, there are no orders to be tracked.

Optional.

setOrderDescription

@CanIgnoreReturnValue
fun setOrderDescription(orderDescription: String!): ShoppingOrderTrackingCluster.Builder!

Sets the description of the order tracking cluster, typically containing a comma separated list of items in the order.

Optional.

setOrderReadyTimeWindow

@CanIgnoreReturnValue
fun setOrderReadyTimeWindow(orderReadyTimeWindow: OrderReadyTimeWindow!): ShoppingOrderTrackingCluster.Builder!

Sets the order ready time window for the order tracking cluster.

Optional.

setOrderTime

@CanIgnoreReturnValue
fun setOrderTime(orderTime: Long): ShoppingOrderTrackingCluster.Builder!

Sets the epoch timestamp (in milliseconds) of the order placed by the user.

Required.

setOrderValue

@CanIgnoreReturnValue
fun setOrderValue(orderValue: Price!): ShoppingOrderTrackingCluster.Builder!

Sets the total value of the order that is being tracked.

Optional.

setShoppingOrderType

@CanIgnoreReturnValue
fun setShoppingOrderType(@ShoppingOrderType shoppingOrderType: Int): ShoppingOrderTrackingCluster.Builder!

Sets the order type of the shopping order tracking cluster.

Required.

setStatus

@CanIgnoreReturnValue
fun setStatus(status: String!): ShoppingOrderTrackingCluster.Builder!

Sets the status of the order tracking cluster. e.g. "Running late", "Delivered", etc.

Required.

setTitle

@CanIgnoreReturnValue
fun setTitle(title: String!): ShoppingOrderTrackingCluster.Builder!

Sets the title of the order tracking cluster.

Required.

setTrackingId

@CanIgnoreReturnValue
fun setTrackingId(trackingId: String!): ShoppingOrderTrackingCluster.Builder!

Sets the tracking number/ID of the order that is being tracked.

Optional.