# OrderReadyTimeWindow

# OrderReadyTimeWindow

*** ** * ** ***

[Kotlin](https://developer.android.com/reference/kotlin/com/google/android/engage/common/datamodel/OrderReadyTimeWindow "View this page in Kotlin")\|Java  

<br />

```
public final class OrderReadyTimeWindow
```

<br />

*** ** * ** ***

An object representing a order ready time window.

## Summary

|                                                                                                                                                    ### Nested types                                                                                                                                                    |
|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `public final class `[OrderReadyTimeWindow.Builder](https://developer.android.com/reference/com/google/android/engage/common/datamodel/OrderReadyTimeWindow.Builder) Builder class for[OrderReadyTimeWindow](https://developer.android.com/reference/com/google/android/engage/common/datamodel/OrderReadyTimeWindow). |

|                                                                         ### Public methods                                                                         |
|--------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [Optional](https://guava.dev/releases/21.0/api/docs/com/google/common/base/Optional.html)`<`[Long](https://developer.android.com/reference/java/lang/Long.html)`>` | [getEndTimestampMillis](https://developer.android.com/reference/com/google/android/engage/common/datamodel/OrderReadyTimeWindow#getEndTimestampMillis())`()` Returns the end timestamp for the order ready time window in epoch milliseconds.       |
| [Optional](https://guava.dev/releases/21.0/api/docs/com/google/common/base/Optional.html)`<`[Long](https://developer.android.com/reference/java/lang/Long.html)`>` | [getStartTimestampMillis](https://developer.android.com/reference/com/google/android/engage/common/datamodel/OrderReadyTimeWindow#getStartTimestampMillis())`()` Returns the start timestamp for the order ready time window in epoch milliseconds. |

## Public methods

### getEndTimestampMillis

```
public Optional<Long> getEndTimestampMillis()
```

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<Long> getStartTimestampMillis()
```

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

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