Class

INRestaurantGuestDisplayPreferences

Options about how to display guest information from system interfaces.

Declaration

@interface INRestaurantGuestDisplayPreferences : NSObject

Overview

An INRestaurantGuestDisplayPreferences object contains configuration options used by any reservation-related interfaces that present guest information. Create an instance of this class and assign it to the guestDisplayPreferences property of your INGetRestaurantGuestIntentResponse object when handling a request for information about the person making a reservation. Use the properties of this class to specify what information you want displayed for a user and whether you can change that information prior to completing a reservation.

Topics

Specifying Which Fields to Display

nameFieldShouldBeDisplayed

A Boolean value indicating whether to display the guest’s name should.

phoneNumberFieldShouldBeDisplayed

A Boolean value indicating whether to display the guest’s phone number.

emailAddressFieldShouldBeDisplayed

A Boolean value indicating whether to display the guest’s email address.

Specifying Required Fields

nameFieldFirstNameOptional

A Boolean value indicating whether the reservation requires the guest’s first name.

nameFieldLastNameOptional

A Boolean value indicating whether the reservation requires the guest’s last name.

Making the Guest Information Editable

nameEditable

A Boolean value indicating whether the name fields are editable.

emailAddressEditable

A Boolean value indicating whether the email address field is editable.

phoneNumberEditable

A Boolean value indicating whether the phone number field is editable.

Relationships

Inherits From

See Also

Data Objects

INRestaurant

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

INRestaurantGuest

The person assigned to a reservation.

INRestaurantOffer

Information about special offers made by a restaurant.

INRestaurantReservationBooking

A potential reservation that a user can book.

INRestaurantReservationUserBooking

A reservation created by a user.

INTermsAndConditions

The terms and conditions of service when making restaurant reservations.

INRestaurantReservationUserBookingStatus

Constants indicating the status of a user reservation.