---
title: INBookRestaurantReservationIntent
framework: intents
role: symbol
role_heading: Class
path: intents/inbookrestaurantreservationintent
---

# INBookRestaurantReservationIntent

A request to create a reservation at the specified restaurant.

## Declaration

```swift
class INBookRestaurantReservationIntent
```

## Overview

Overview An INBookRestaurantReservationIntent object asks you to book the reservation time selected by the user. Maps sends this intent to your Intents extension when the user selects a reservation time from the available options. Use this intent object to obtain the details of the reservation, including the time slot and any selected special offers. Use those details to confirm the reservation with the restaurant and store the results in your system. Booking a reservation is the last step in the reservation creation process. By the time the system delivers this intent to your Intents extension, the user has already had an opportunity to view a list of potential reservation times and configure the details of the reservation request. This intent object contains all of the final choices made by the user. To handle this intent, the handler object in your Intents extension must adopt the INBookRestaurantReservationIntentHandling protocol. Your handler should resolve and confirm any parameters and create an INBookRestaurantReservationIntentResponse object with the status of the reservation. Additional Intent Attributes The following table lists additional attributes of this intent object:  |   |   |

## Topics

### Initializing the Intent Object

- [init(restaurant:booking:partySize:bookingIdentifier:guest:selectedOffer:guestProvidedSpecialRequestText:)](intents/inbookrestaurantreservationintent/init(restaurant:booking:partysize:bookingidentifier:guest:selectedoffer:guestprovidedspecialrequesttext:).md)

### Getting the Restaurant Information

- [restaurant](intents/inbookrestaurantreservationintent/restaurant.md)

### Getting the Booking Details

- [bookingDateComponents](intents/inbookrestaurantreservationintent/bookingdatecomponents.md)
- [bookingIdentifier](intents/inbookrestaurantreservationintent/bookingidentifier.md)
- [partySize](intents/inbookrestaurantreservationintent/partysize.md)
- [guest](intents/inbookrestaurantreservationintent/guest.md)

### Getting Special Requests and Offers

- [guestProvidedSpecialRequestText](intents/inbookrestaurantreservationintent/guestprovidedspecialrequesttext.md)
- [selectedOffer](intents/inbookrestaurantreservationintent/selectedoffer.md)

### Initializers

- [init(restaurant:bookingDateComponents:partySize:bookingIdentifier:guest:selectedOffer:guestProvidedSpecialRequestText:)](intents/inbookrestaurantreservationintent/init(restaurant:bookingdatecomponents:partysize:bookingidentifier:guest:selectedoffer:guestprovidedspecialrequesttext:).md)

## Relationships

### Inherits From

- [INIntent](intents/inintent.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [INIntentSetImageKeyPath](intents/inintentsetimagekeypath.md)
- [NSCoding](foundation/nscoding.md)
- [NSCopying](foundation/nscopying.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)
- [NSSecureCoding](foundation/nssecurecoding.md)

## See Also

### Book Restaurant Reservation

- [INBookRestaurantReservationIntentHandling](intents/inbookrestaurantreservationintenthandling.md)
- [INBookRestaurantReservationIntentResponse](intents/inbookrestaurantreservationintentresponse.md)
