ULHotelReservation

data class ULHotelReservation(val numberOfRooms: Int? = null, val address: ULHotelAddress? = null, val reservationType: String? = null, val ticketType: String? = null, val hotelName: String? = null, val checkIn: Date? = null, val checkOut: Date? = null, val price: Int? = null, val insurances: ArrayList<ULInsurance>? = null, val travelers: ArrayList<ULTraveler>? = null) : Serializable

Class to represent a hotel reservation.

Constructors

Link copied to clipboard
fun ULHotelReservation(numberOfRooms: Int? = null, address: ULHotelAddress? = null, reservationType: String? = null, ticketType: String? = null, hotelName: String? = null, checkIn: Date? = null, checkOut: Date? = null, price: Int? = null, insurances: ArrayList<ULInsurance>? = null, travelers: ArrayList<ULTraveler>? = null)

Init method to create a ULHotelReservation object with the given parameters

Properties

Link copied to clipboard
val address: ULHotelAddress? = null

Address of the hotel

Link copied to clipboard
val checkIn: Date? = null

Check-in date of the reservation

Link copied to clipboard
val checkOut: Date? = null

Check-out date of the reservation

Link copied to clipboard
val hotelName: String? = null

Name of the hotel

Link copied to clipboard

List of insurances attached to the reservation

Link copied to clipboard
val numberOfRooms: Int? = null

Number of rooms 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
val ticketType: String? = null

Type of the ticket

Link copied to clipboard

List of travelers attached to the reservation