java.lang.Object
de.hybris.platform.travelfulfilmentprocess.strategy.impl.SplitByTraveller
All Implemented Interfaces:
de.hybris.platform.ordersplitting.strategy.SplittingStrategy

public class SplitByTraveller extends Object implements de.hybris.platform.ordersplitting.strategy.SplittingStrategy
Strategy Class to split and group the OrderEntryGroup based on Travellers
  • Constructor Details

    • SplitByTraveller

      public SplitByTraveller()
  • Method Details

    • perform

      public List<de.hybris.platform.ordersplitting.strategy.impl.OrderEntryGroup> perform(List<de.hybris.platform.ordersplitting.strategy.impl.OrderEntryGroup> orderEntryGroup)
      Specified by:
      perform in interface de.hybris.platform.ordersplitting.strategy.SplittingStrategy
    • splitByTraveller

      protected List<de.hybris.platform.ordersplitting.strategy.impl.OrderEntryGroup> splitByTraveller(de.hybris.platform.ordersplitting.strategy.impl.OrderEntryGroup orderEntryList)
      Split by traveller list.
      Parameters:
      orderEntryList - the order entry list
      Returns:
      the list
    • afterSplitting

      public void afterSplitting(de.hybris.platform.ordersplitting.strategy.impl.OrderEntryGroup group, ConsignmentModel createdOne)
      Specified by:
      afterSplitting in interface de.hybris.platform.ordersplitting.strategy.SplittingStrategy
    • getTravellerService

      protected TravellerService getTravellerService()
      Gets traveller service.
      Returns:
      the travellerService
    • setTravellerService

      public void setTravellerService(TravellerService travellerService)
      Sets traveller service.
      Parameters:
      travellerService - the travellerService to set