Contents

INGetAvailableRestaurantReservationBookingDefaultsIntentResponse

Your app’s response to a get available restaurant reservation booking defaults intent.

Declaration

class INGetAvailableRestaurantReservationBookingDefaultsIntentResponse

Overview

An INGetAvailableRestaurantReservationBookingDefaultsIntentResponse object contains the default values to use when booking a reservation at a restaurant. You create instances of this class when confirming or handling an INGetAvailableRestaurantReservationBookingDefaultsIntent object.

The system uses the information to improve the overall user experience. Restaurants may have requirements for the minimum or maximum size of a party. Similarly, your service might be able to provide a default date that reflects the first time when reservations are available. The system uses this information both to gather an initial set of valid reservation options and to show the user what requirements the restaurant may impose. Although providing default values is not required, it is highly recommended.

You create an INGetAvailableRestaurantReservationBookingDefaultsIntentResponse object in the confirm(getAvailableRestaurantReservationBookingDefaults:completion:) and handle(getAvailableRestaurantReservationBookingDefaults:completion:) methods of handler object. For more information about implementing your handler object, see INGetAvailableRestaurantReservationBookingDefaultsIntentHandling.

Topics

Initializing the Response Object

Getting the Response Code

Specifying the Default Values

Initializers

See Also

Get Available Restaurant Reservation Booking Defaults