public abstract class
IsOpenResponse
extends Object
implements Response
implements Response
Response for IsOpenRequest
.
Public Constructor Summary
Public Method Summary
abstract Boolean |
isOpen()
Returns whether the place is open.
|
static IsOpenResponse |
Inherited Method Summary
Public Constructors
public IsOpenResponse ()
Public Methods
public abstract 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 OpeningHours.getPeriods()
is null or if Place.getUtcOffsetMinutes()
is null.
public static IsOpenResponse newInstance (Boolean open)
Returns an IsOpenResponse
.
Parameters
open | Whether the place is open. |
---|