Class

INRestaurantOffer

Information about special offers made by a restaurant.

Declaration

class INRestaurantOffer : NSObject

Overview

An INRestaurantOffer object provides information about a special offer made by a restaurant. Restaurants might offer special pricing as part of a promotion or advertisement. This object captures the details of an offer, which the system then displays to the user during the reservation selection process. When booking the reservation, you include the offer selected by the user with the information you provide to the restaurant.

When creating a response to a INGetAvailableRestaurantReservationBookingsIntent intent, you create INRestaurantReservationBooking objects with information about the time slots available to the user. If a restaurant offers special deals in a given time slot, create one or more instances of this class, populate them with the details of the offers, and assign them to the corresponding INRestaurantReservationBooking objects.

You are responsible for obtaining the information about special offers from the restaurants you support. Including special offers with reservations is not required.

Topics

Accessing the Offer Details

var offerTitleText: String

The user-readable text that summarizes the offer.

var offerDetailText: String

The user-readable text containing the details of the offer.

var offerIdentifier: String

The unique identifier associated with the offer.

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 INRestaurantGuestDisplayPreferences

Options about how to display guest information from system interfaces.

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