OrderReadyTimeWindow


public final class OrderReadyTimeWindow


An object representing a order ready time window.

Summary

Nested types

public final class OrderReadyTimeWindow.Builder

Builder class for OrderReadyTimeWindow.

Public methods

Optional<Long>

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

Optional<Long>

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

Public methods

getEndTimestampMillis

public Optional<LonggetEndTimestampMillis()

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

The order will be ready before the given end timestamp.

getStartTimestampMillis

public Optional<LonggetStartTimestampMillis()

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

The order will be ready only after the given start timestamp.