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 Details

    • BookingRaoPopulator

      public BookingRaoPopulator()
  • Method Details

    • populate

      public void populate(OrderModel order, BookingRAO bookingRao) throws de.hybris.platform.servicelayer.dto.converter.ConversionException
      Specified by:
      populate in interface de.hybris.platform.converters.Populator<OrderModel,BookingRAO>
      Throws:
      de.hybris.platform.servicelayer.dto.converter.ConversionException
    • populateReservationItems

      protected void populateReservationItems(BookingRAO bookingRao, Set<Integer> journeys)
      Populate reservation items.
      Parameters:
      bookingRao - the booking rao
      journeys - the journeys
    • populateItinerary

      protected void populateItinerary(ReservationItemRAO reservationItem, List<AbstractOrderEntryModel> fareProductEntries)
      Populate itinerary.
      Parameters:
      reservationItem - the reservation item
      fareProductEntries - 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 entries
      originDestinationRefNo - the origin destination ref no
      Returns:
      the transport offerings from fare products