IsOpenRequestKt

public final class IsOpenRequestKt


Summary

Public methods

static final @NonNull IsOpenRequest
isOpenRequest(
    @NonNull String placeId,
    Long utcTimeMillis,
    @ExtensionFunctionType Function1<@NonNull IsOpenRequest.BuilderUnit> actions
)

Builds a new IsOpenRequest.

static final @NonNull IsOpenRequest
isOpenRequest(
    @NonNull Place place,
    Long utcTimeMillis,
    @ExtensionFunctionType Function1<@NonNull IsOpenRequest.BuilderUnit> actions
)

Builds a new IsOpenRequest.

Public methods

isOpenRequest

public static final @NonNull IsOpenRequest isOpenRequest(
    @NonNull String placeId,
    Long utcTimeMillis,
    @ExtensionFunctionType Function1<@NonNull IsOpenRequest.BuilderUnit> actions
)

Builds a new IsOpenRequest.

Parameters
@NonNull String placeId

The Place.id of the place for which isOpen is to be determined.

Long utcTimeMillis

The milliseconds from 1970-01-01T00:00:00Z.

@ExtensionFunctionType Function1<@NonNull IsOpenRequest.BuilderUnit> actions

the actions to apply to the IsOpenRequest.Builder

Returns
@NonNull IsOpenRequest

the constructed IsOpenRequest

isOpenRequest

public static final @NonNull IsOpenRequest isOpenRequest(
    @NonNull Place place,
    Long utcTimeMillis,
    @ExtensionFunctionType Function1<@NonNull IsOpenRequest.BuilderUnit> actions
)

Builds a new IsOpenRequest.

Parameters
@NonNull Place place

The Place for which isOpen is to be determined.

Long utcTimeMillis

The milliseconds from 1970-01-01T00:00:00Z.

@ExtensionFunctionType Function1<@NonNull IsOpenRequest.BuilderUnit> actions

the actions to apply to the IsOpenRequest.Builder

Returns
@NonNull IsOpenRequest

the constructed IsOpenRequest

Throws
java.lang.IllegalArgumentException

if Place does not have a Place.id associated with it.