ULAirReservation

data class ULAirReservation(val pnr: String? = null, val reservationType: String? = null, val tripType: ULAirTripType, val itineraries: ArrayList<ULItinerary>, val insurances: ArrayList<ULInsurance>? = null, val origin: String? = null, val destination: String? = null, val price: Int? = null) : Serializable

Class to represent an air reservation.

Constructors

Link copied to clipboard
fun ULAirReservation(pnr: String? = null, reservationType: String? = null, tripType: ULAirTripType, itineraries: ArrayList<ULItinerary>, insurances: ArrayList<ULInsurance>? = null, origin: String? = null, destination: String? = null, price: Int? = null)

Init method to create a ULAirReservation object with the given parameters

Properties

Link copied to clipboard
val destination: String? = null

Destination of the reservation

Link copied to clipboard

List of insurances added to the reservation

Link copied to clipboard

List of itinerary objects

Link copied to clipboard
val origin: String? = null

Origin of the reservation

Link copied to clipboard
val pnr: String? = null

Passenger name record of the reservation

Link copied to clipboard
val price: Int? = null

Price of the reservation

Link copied to clipboard
val reservationType: String? = null

Type of the reservation

Link copied to clipboard

Type of the reservation