init(seatSection:seatRow:seatNumber:seatingType:)
Creates a new seat object containing the required seat information.
Declaration
init(seatSection: String?, seatRow: String?, seatNumber: String?, seatingType: String?)Parameters
- seatSection:
The seat’s section.
- seatRow:
The seat’s row.
- seatNumber:
The seat’s number.
- seatingType:
The seat’s type.
Discussion
Create a new seat object when the reservation includes a seat assignment, such as for a flight or train reservation.