Contents

INBookRestaurantReservationIntent

A request to create a reservation at the specified restaurant.

Declaration

class INBookRestaurantReservationIntent

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:

Attribute

Description

Supported by

Maps

Always requires unlocked device

Yes

Topics

Initializing the Intent Object

Getting the Restaurant Information

Getting the Booking Details

Getting Special Requests and Offers

Initializers

See Also

Book Restaurant Reservation