Class

INRestaurantGuestDisplayPreferences

Options about how to display guest information from system interfaces.

Declaration

class 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

var nameFieldShouldBeDisplayed: Bool

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

var phoneNumberFieldShouldBeDisplayed: Bool

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

var emailAddressFieldShouldBeDisplayed: Bool

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

Specifying Required Fields

var nameFieldFirstNameOptional: Bool

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

var nameFieldLastNameOptional: Bool

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

Making the Guest Information Editable

var nameEditable: Bool

A Boolean value indicating whether the name fields are editable.

var emailAddressEditable: Bool

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

var phoneNumberEditable: Bool

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

Relationships

Inherits From

See Also

Data Objects

class INRestaurant

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

class INRestaurantGuest

The person assigned to a reservation.

class INRestaurantOffer

Information about special offers made by a restaurant.

class INRestaurantReservationBooking

A potential reservation that a user can book.

class INRestaurantReservationUserBooking

A reservation created by a user.

class INTermsAndConditions

The terms and conditions of service when making restaurant reservations.

enum INRestaurantReservationUserBookingStatus

Constants indicating the status of a user reservation.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software