Contents

init(itemReference:reservationNumber:bookingTime:reservationStatus:reservationHolderName:actions:url:reservedSeat:event:)

Creates a ticketed event reservation with the specified contents and attributes.

Declaration

init(itemReference: INSpeakableString, reservationNumber: String?, bookingTime: Date?, reservationStatus: INReservationStatus, reservationHolderName: String?, actions: [INReservationAction]?, url URL: URL?, reservedSeat: INSeat?, event: INTicketedEvent)

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.

  • URL:

    A webpage containing reservation information.

  • reservedSeat:

    The user’s assigned seat for the ticketed event.

  • event:

    Information describing the ticketed event.

Return Value

A new INTicketedEventReservation object or nil if one can’t be created.

See Also

Creating a Ticketed Event Reservation