Instance Property

isBookingAvailable

A Boolean value indicating whether the time slot is available for booking.

Declaration

var isBookingAvailable: Bool { get set }

Discussion

The default value of this property is true. Change it to false if the specified time slot is unavailable, either because the restaurant is fully booked at that time or because it cannot accommodate a party of the specified size at that time.

See Also

Accessing the Booking Information

var bookingIdentifier: String

The unique identifier associated with this reservation.

var bookingDate: Date

The date and time of the reservation.

var bookingDescription: String?

An optional description of the booking.