--- title: "The ULPMTripInfo Object" slug: "the-ulpmtripinfo-object" updated: 2023-06-20T18:52:23Z published: 2023-06-20T18:52:23Z canonical: "developer.upgrade.com/the-ulpmtripinfo-object" --- > ## Documentation Index > Fetch the complete documentation index at: https://developer.upgrade.com/llms.txt > Use this file to discover all available pages before exploring further. # The ULPMTripInfo Object `ULPMTripInfo` stores detailed itinerary information about the customers trip. It’s built using multiple sub-objects to clearly organize information. In order to get the best offer possible from Uplift, it is important to be as detailed as possible when constructing the `ULPMTripInfo` and include all avaliable information in this object. Here is a sample `ULPMTripInfo` object, for the full documentation please check the `ULPMTripInfo` class or the Technical documentation. ``` val birthday: Date = birthday_of_the_traveler val checkInDate: Date = check_in_date val checkOutDate: Date = check_out_date val address = ULHotelAddress( streetAddress = "hotel_address", postalCode = "postal_code", city = "city", region = "region", country = "country" ) val hotelInsurances = arrayListOf( ULInsurance( type = ULInsuranceType.Cancellation, price = 40000 ) ) val hotelReservation = ULHotelReservation( numberOfRooms = 1, address = address, hotelName = "Hoover Dam Lodge", checkIn = checkInDate, checkOut = checkOutDate, price = 50000, insurances = hotelInsurances ) val hotelReservations = ArrayList() hotelReservations.add(hotelReservation) val traveler: ULTraveler = ULTraveler( travelerId = 0, title = null, firstName = "Arthur", lastName = "Davis", dateOfBirth = birthday ) val travelers = ArrayList() travelers.add(traveler) val itinerary0: ULItinerary = ULItinerary( arrivalCity = null, arrivalApc = "LAS", arrivalTime = checkInDate, departureCity = null, departureApc = "DFW", departureTime = checkInDate, ticketType = null, fareClass = null, carrierCode = null, travelers = travelers ) val itinerary1: ULItinerary = ULItinerary( arrivalCity = null, arrivalApc = "LAS", arrivalTime = checkInDate, departureCity = null, departureApc = "DFW", departureTime = checkInDate, ticketType = null, fareClass = null, carrierCode = null, travelers = travelers ) val itineraries = ArrayList() itineraries.add(itinerary0) itineraries.add(itinerary1) val airInsurances: ULInsurance = ULInsurance( type = ULInsuranceType.Cancellation, price = 300 ) val insurances = ArrayList() insurances.add(airInsurances) val airReservation: ULAirReservation = ULAirReservation( pnr = null, reservationType = null, tripType = ULAirTripType.ULTripTypeRoundTrip, itineraries = itineraries, insurances = insurances, price = 10000 ) val airReservations = ArrayList() airReservations.add(airReservation) val billingContact: ULContact = ULContact( email = "arthur@uplift.com", title = null, firstName = "Arthur", middleName = null, lastName = "Davis", phone = "5555559339", streetAddress = "1013 weda cir", streetAddress2 = null, postalCode = "99999", city = "Mayfield", region = "KY", country = "United States" ) val tripInfo: ULPMTripInfo = ULPMTripInfo( billingContact = billingContact, shippingContact = null, orderTaxAmount = 0, orderAmount = 100000, travelers = travelers, hotelReservations = hotelReservations, airReservations = airReservations, cruiseReservations = null, orderLines = null ) ```