Contents

init(itemReference:reservationNumber:bookingTime:reservationStatus:reservationHolderName:actions:url:reservationDuration:partySize:restaurantLocation:)

Creates a restaurant reservation with the specified contents and attributes.

Declaration

@nonobjc convenience init(itemReference: INSpeakableString, reservationNumber: String? = nil, bookingTime: Date? = nil, reservationStatus: INReservationStatus = .unknown, reservationHolderName: String? = nil, actions: [INReservationAction]? = nil, url: URL? = nil, reservationDuration: INDateComponentsRange, partySize: Int? = nil, restaurantLocation: CLPlacemark)

Parameters

  • itemReference:

    A unique identifier for the reservation.

  • reservationNumber:

    The reservation number.

  • bookingTime:

    The date and time the user made the reservation.

  • reservationStatus:

    The current status of the reservation.

  • reservationHolderName:

    The reservation holder’s name.

  • actions:

    Available actions associated with the reservation, such as checking in when the user arrives at the restaurant.

  • url:

    A webpage containing reservation information.

  • reservationDuration:

    The date and time range that defines the start and end times for the restaurant reservation.

  • partySize:

    The size of the party for the reservation.

  • restaurantLocation:

    The name and location of the restaurant.

See Also

Creating a Restaurant Reservation