Class BookingRaoPopulator
java.lang.Object
de.hybris.platform.travelrulesengine.converters.populator.BookingRaoPopulator
- All Implemented Interfaces:
de.hybris.platform.converters.Populator<OrderModel,BookingRAO>
public class BookingRaoPopulator
extends Object
implements de.hybris.platform.converters.Populator<OrderModel,BookingRAO>
The type Booking rao populator.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected List<TransportOfferingModel>getTransportOfferingsFromFareProducts(List<AbstractOrderEntryModel> fareProductEntries, int originDestinationRefNo) Gets transport offerings from fare products.voidpopulate(OrderModel order, BookingRAO bookingRao) protected voidpopulateItinerary(ReservationItemRAO reservationItem, List<AbstractOrderEntryModel> fareProductEntries) Populate itinerary.protected voidpopulateReservationItems(BookingRAO bookingRao, Set<Integer> journeys) Populate reservation items.
-
Constructor Details
-
BookingRaoPopulator
public BookingRaoPopulator()
-
-
Method Details
-
populate
public void populate(OrderModel order, BookingRAO bookingRao) throws de.hybris.platform.servicelayer.dto.converter.ConversionException - Specified by:
populatein interfacede.hybris.platform.converters.Populator<OrderModel,BookingRAO> - Throws:
de.hybris.platform.servicelayer.dto.converter.ConversionException
-
populateReservationItems
Populate reservation items.- Parameters:
bookingRao- the booking raojourneys- the journeys
-
populateItinerary
protected void populateItinerary(ReservationItemRAO reservationItem, List<AbstractOrderEntryModel> fareProductEntries) Populate itinerary.- Parameters:
reservationItem- the reservation itemfareProductEntries- the fare product entries
-
getTransportOfferingsFromFareProducts
protected List<TransportOfferingModel> getTransportOfferingsFromFareProducts(List<AbstractOrderEntryModel> fareProductEntries, int originDestinationRefNo) Gets transport offerings from fare products.- Parameters:
fareProductEntries- the fare product entriesoriginDestinationRefNo- the origin destination ref no- Returns:
- the transport offerings from fare products
-