# OrderReadyTimeWindow.Builder

# OrderReadyTimeWindow.Builder

*** ** * ** ***

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

<br />

```
class OrderReadyTimeWindow.Builder
```

<br />

*** ** * ** ***

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

## Summary

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

|                                                                   ### Public functions                                                                    |
|-----------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [OrderReadyTimeWindow](https://developer.android.com/reference/kotlin/com/google/android/engage/common/datamodel/OrderReadyTimeWindow)`!`                 | [build](https://developer.android.com/reference/kotlin/com/google/android/engage/common/datamodel/OrderReadyTimeWindow.Builder#build())`()`                                                                                                                                                                                                                                                                                                                                                       |
| [OrderReadyTimeWindow.Builder](https://developer.android.com/reference/kotlin/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/kotlin/com/google/android/engage/common/datamodel/OrderReadyTimeWindow.Builder#setEndTimestampMillis(long))`(endTimestampMillis: `[Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html)`)` Sets the end timestamp for the order ready time window in epoch milliseconds.         |
| [OrderReadyTimeWindow.Builder](https://developer.android.com/reference/kotlin/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/kotlin/com/google/android/engage/common/datamodel/OrderReadyTimeWindow.Builder#setStartTimestampMillis(long))`(startTimestampMillis: `[Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html)`)` 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.