OrderReadyTimeWindow.Builder


class OrderReadyTimeWindow.Builder


Builder class for OrderReadyTimeWindow.

Summary

Public constructors

Public functions

OrderReadyTimeWindow!
OrderReadyTimeWindow.Builder!

Sets the end timestamp for the order ready time window in epoch milliseconds.

OrderReadyTimeWindow.Builder!

Sets the start timestamp for the order ready time window in epoch milliseconds.

Public constructors

Builder

Builder()

Public functions

build

fun build(): OrderReadyTimeWindow!

setEndTimestampMillis

@CanIgnoreReturnValue
fun setEndTimestampMillis(endTimestampMillis: Long): OrderReadyTimeWindow.Builder!

Sets the end timestamp for the order ready time window in epoch milliseconds.

If set, this marks the latest time by which the order will be ready.

Optional.

setStartTimestampMillis

@CanIgnoreReturnValue
fun setStartTimestampMillis(startTimestampMillis: Long): OrderReadyTimeWindow.Builder!

Sets the start timestamp for the order ready time window in epoch milliseconds.

If set, this marks the earliest time by which the order will be ready.

Optional.