init(itemReference:reservationNumber:bookingTime:reservationStatus:reservationHolderName:actions:reservedSeat:event:)
Creates a new ticketed event reservation with the specified contents and attributes.
Declaration
convenience init(itemReference: INSpeakableString, reservationNumber: String?, bookingTime: Date?, reservationStatus: INReservationStatus, reservationHolderName: String?, actions: [INReservationAction]?, reservedSeat: INSeat?, event: INTicketedEvent)Parameters
- itemReference:
A unique value for the reservation item.
- reservationNumber:
The reservation or booking number provided by the app.
- bookingTime:
The date and time the user made the reservation.
- reservationStatus:
The current status of the reservation.
- reservationHolderName:
The reservation holder’s name.
- actions:
The available actions for the reservation. For example, checking in for the reservation from your phone.
- reservedSeat:
The user’s assigned seat for the ticketed event.
- event:
An object containing detailed information on the ticketed event.
Return Value
A new INRentalCarReservation object or nil if one can’t be created.