# OrderReadyTimeWindow.Builder

# OrderReadyTimeWindow.Builder

*** ** * ** ***

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

<br />

```
public final class OrderReadyTimeWindow.Builder
```

<br />

*** ** * ** ***

Builder class for[OrderReadyTimeWindow](https://developer.android.com/reference/com/google/android/engage/common/datamodel/OrderReadyTimeWindow).

## Summary

|                                                         ### Public constructors                                                          |
|------------------------------------------------------------------------------------------------------------------------------------------|
| [Builder](https://developer.android.com/reference/com/google/android/engage/common/datamodel/OrderReadyTimeWindow.Builder#Builder())`()` |

|                                                               ### Public methods                                                                |
|-------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [OrderReadyTimeWindow](https://developer.android.com/reference/com/google/android/engage/common/datamodel/OrderReadyTimeWindow)                 | [build](https://developer.android.com/reference/com/google/android/engage/common/datamodel/OrderReadyTimeWindow.Builder#build())`()`                                                                                                                                                                                                                                                                            |
| [OrderReadyTimeWindow.Builder](https://developer.android.com/reference/com/google/android/engage/common/datamodel/OrderReadyTimeWindow.Builder) | `@`[CanIgnoreReturnValue](https://errorprone.info/api/latest/com/google/errorprone/annotations/CanIgnoreReturnValue.html) [setEndTimestampMillis](https://developer.android.com/reference/com/google/android/engage/common/datamodel/OrderReadyTimeWindow.Builder#setEndTimestampMillis(long))`(long endTimestampMillis)` Sets the end timestamp for the order ready time window in epoch milliseconds.         |
| [OrderReadyTimeWindow.Builder](https://developer.android.com/reference/com/google/android/engage/common/datamodel/OrderReadyTimeWindow.Builder) | `@`[CanIgnoreReturnValue](https://errorprone.info/api/latest/com/google/errorprone/annotations/CanIgnoreReturnValue.html) [setStartTimestampMillis](https://developer.android.com/reference/com/google/android/engage/common/datamodel/OrderReadyTimeWindow.Builder#setStartTimestampMillis(long))`(long startTimestampMillis)` Sets the start timestamp for the order ready time window in epoch milliseconds. |

## Public constructors

### Builder

```
public Builder()
```  

## Public methods

### build

```
public OrderReadyTimeWindow build()
```  

### setEndTimestampMillis

```
@CanIgnoreReturnValue
public OrderReadyTimeWindow.Builder setEndTimestampMillis(long endTimestampMillis)
```

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
public OrderReadyTimeWindow.Builder setStartTimestampMillis(long startTimestampMillis)
```

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.