<!--
{
  "availability" : [
    "iOS: 10.0.0 -",
    "iPadOS: 10.0.0 -",
    "macCatalyst: 13.1.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SiriKit",
  "identifier" : "/documentation/Intents/INRestaurantReservationBooking/init(restaurant:booking:partySize:bookingIdentifier:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "Intents"
    ],
    "preciseIdentifier" : "c:objc(cs)INRestaurantReservationBooking(im)initWithRestaurant:bookingDate:partySize:bookingIdentifier:"
  },
  "title" : "init(restaurant:booking:partySize:bookingIdentifier:)"
}
-->

# init(restaurant:booking:partySize:bookingIdentifier:)

Initializes the reservation object with the specified information and status.

```
init(restaurant: INRestaurant, booking bookingDate: Date, partySize: Int, bookingIdentifier: String)
```

## Parameters

`restaurant`

The restaurant at which the reservation is to be made.

`bookingDate`

The date and time of the reservation.

`partySize`

The number of guests in the party.

`bookingIdentifier`

The unique identifier for the reservation in your system.

## Return Value

An initialized reservation booking object or `nil` if the object could not be created.

## Discussion

After initializing the reservation booking object, update the other properties of the object with details about special offers or the requirements for completing the reservation.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)