Class

INRestaurantReservationUserBooking

A reservation created by a user.

Declaration

@interface INRestaurantReservationUserBooking : INRestaurantReservationBooking

Overview

An INRestaurantReservationUserBooking object contains information about a reservation placed by a user. When the user actually books a reservation at a restaurant, you create an instance of this class to represent the reservation details. This object contains the specific details of the reservation, including any user-specified information such as selected offers or special requests.

You create instances of this class when providing responses to INBookRestaurantReservationIntent or INGetUserCurrentRestaurantReservationBookingsIntent objects. After initializing an instance of this class with basic information, fill in any additional properties with details relevant to the reservation before returning it with your response.

For information about additional properties of this class that you can configure for a booking, see INRestaurantReservationBooking.

Topics

Initializing a Reservation

- initWithRestaurant:bookingDate:partySize:bookingIdentifier:guest:status:dateStatusModified:

Initializes the reservation object with the specified information and status.

Accessing the Reservation Information

guest

The guest associated with the reservation.

status

The current status of the reservation.

dateStatusModified

The date on which the status of the reservation changed.

guestProvidedSpecialRequestText

Any special requests made by the user with the reservation.

Accessing Special Offers

selectedOffer

The offer selected by the user.

advisementText

A user-readable string containing policies and information related to the reservation.

Constants

INRestaurantReservationUserBookingStatus

Constants indicating the status of a user reservation.

Relationships

Conforms To

See Also

Data Objects

INRestaurant

A restaurant for which your app can make and manage reservations.

INRestaurantGuest

The person assigned to a reservation.

INRestaurantGuestDisplayPreferences

Options about how to display guest information from system interfaces.

INRestaurantOffer

Information about special offers made by a restaurant.

INRestaurantReservationBooking

A potential reservation that a user can book.

INTermsAndConditions

The terms and conditions of service when making restaurant reservations.

INRestaurantReservationUserBookingStatus

Constants indicating the status of a user reservation.