GMSPlaceIsOpenRequest Class Reference

GMSPlaceIsOpenRequest Class Reference

Overview

Represents an is open request definition to be sent via GMSPlacesClient.

Public Member Functions

(instancetype) - initWithPlace:date:
 Initializes the request with a GMSPlace and date.
(instancetype) - initWithPlaceID:date:
 Initializes the request with a place ID and date.

Properties

GMSPlaceplace
 Default init is not available.
NSString * placeID
 The placeID to be used for the request.
NSDate * date
 The date to be used for the request.

Member Function Documentation

- (instancetype) initWithPlace: (GMSPlace *)  place
date: (nullable NSDate *)  date 

Initializes the request with a GMSPlace and date.

Parameters:
placeThe GMSPlace to be used for the request.
dateThe date to be used for the request. If no date is provided, the current date and time is used.
- (instancetype) initWithPlaceID: (NSString *)  placeID
date: (nullable NSDate *)  date 

Initializes the request with a placeID and date.

Parameters:
placeIDThe placeID to be used for the request.
dateThe date to be used for the request. If no date is provided, the current date and time is used.

Property Documentation

- (GMSPlace*) place [read, assign]

Default init is not available.

Please use the designated initializer. The GMSPlace to be used for the request.

- (NSString*) placeID [read, copy]

The placeID to be used for the request.

- (NSDate*) date [read, assign]

The date to be used for the request.

If no date is provided, the current date and time is used.