# GooglePlacesSwift Framework Reference

# IsPlaceOpenRequest

    struct IsPlaceOpenRequest

    extension IsPlaceOpenRequest : Sendable, SendableMetatype

Represents an `IsPlaceOpenRequest` definition to be sent via PlacesClient.
- `


  ### [date](https://developers.google.com/maps/documentation/places/ios-sdk/reference/swift/Structs/IsPlaceOpenRequest#/s:17GooglePlacesSwift18IsPlaceOpenRequestV4date10Foundation4DateVSgvp)


  ` The `Date` to be used for the request. If no date is provided, the current date and time is
  used.

  #### Declaration

  Swift

      var date: Date? { get }

- `


  ### [init(place:date:)](https://developers.google.com/maps/documentation/places/ios-sdk/reference/swift/Structs/IsPlaceOpenRequest#/s:17GooglePlacesSwift18IsPlaceOpenRequestV5place4dateAcA0E0V_10Foundation4DateVSgtcfc)


  ` Initializes the request with a `https://developers.google.com/maps/documentation/places/ios-sdk/reference/swift/Structs/Place.html` and an optional `Date`.

  #### Declaration

  Swift

      init(place: https://developers.google.com/maps/documentation/places/ios-sdk/reference/swift/Structs/Place.html, date: Date? = nil)

  #### Parameters

  |---|---|
  | ` place ` | The `https://developers.google.com/maps/documentation/places/ios-sdk/reference/swift/Structs/Place.html` to be used for the request. |
  | ` date ` | The date to to be used for the request. If no date is provided, the current date and time is used. |

- `


  ### [init(placeID:date:)](https://developers.google.com/maps/documentation/places/ios-sdk/reference/swift/Structs/IsPlaceOpenRequest#/s:17GooglePlacesSwift18IsPlaceOpenRequestV7placeID4dateACSS_10Foundation4DateVSgtcfc)


  ` Initializes the request with a `https://developers.google.com/maps/documentation/places/ios-sdk/reference/swift/Structs/IsPlaceOpenRequest.html#/s:17GooglePlacesSwift18IsPlaceOpenRequestV7placeIDSSSgvp` and an optional `Date`.

  #### Declaration

  Swift

      init(placeID: String, date: Date? = nil)

  #### Parameters

  |---|---|
  | ` placeID ` | The place ID to be used for the request. |
  | ` date ` | The date to be used for the request. If no date is provided, the current date and time is used. |

- `


  ### [place](https://developers.google.com/maps/documentation/places/ios-sdk/reference/swift/Structs/IsPlaceOpenRequest#/s:17GooglePlacesSwift18IsPlaceOpenRequestV5placeAA0E0VSgvp)


  ` The `https://developers.google.com/maps/documentation/places/ios-sdk/reference/swift/Structs/Place.html` to be used for the request.

  #### Declaration

  Swift

      var place: https://developers.google.com/maps/documentation/places/ios-sdk/reference/swift/Structs/Place.html? { get }

- `


  ### [placeID](https://developers.google.com/maps/documentation/places/ios-sdk/reference/swift/Structs/IsPlaceOpenRequest#/s:17GooglePlacesSwift18IsPlaceOpenRequestV7placeIDSSSgvp)


  ` The place ID to be used for the request.

  #### Declaration

  Swift

      var placeID: String? { get }