IsOpenResponse

public abstract class IsOpenResponse implements Response


Response for IsOpenRequest.

Summary

Public constructors

Public methods

abstract @Nullable Boolean

Returns whether the place is open.

static IsOpenResponse

Returns an IsOpenResponse.

Public constructors

IsOpenResponse

public IsOpenResponse()

Public methods

isOpen

public abstract @Nullable Boolean isOpen()

Returns whether the place is open.

Returns null if there is not enough info to determine if the Place is open, such as if the Place's getPeriods is null or if getUtcOffsetMinutes is null.

newInstance

public static IsOpenResponse newInstance(@Nullable Boolean open)

Returns an IsOpenResponse.

Parameters
@Nullable Boolean open

Whether the place is open.