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

# init(restaurant:booking:partySize:bookingIdentifier:guest:status:dateStatusModified:)

Initializes the reservation object with the specified information and status.

```
init(restaurant: INRestaurant, booking bookingDate: Date, partySize: Int, bookingIdentifier: String, guest: INRestaurantGuest, status: INRestaurantReservationUserBookingStatus, dateStatusModified: Date)
```

## Parameters

`restaurant`

The restaurant at which the reservation was 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.

`guest`

The guest whose name is associated with the reservation.

`status`

A value indicating whether the reservation was confirmed, declined, or is still pending.

`dateStatusModified`

The date when the reservation’s status last changed.

## Return Value

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

## Discussion

---

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)