Class ShoppingOriginatingLocationsCartRaoPopulator

java.lang.Object
de.hybris.platform.travelrulesengine.converters.populator.OriginatingLocationsCartRaoPopulator
de.hybris.platform.shoppingrulesengine.converters.populator.ShoppingOriginatingLocationsCartRaoPopulator
All Implemented Interfaces:
de.hybris.platform.converters.Populator<AbstractOrderModel,CartRAO>

public class ShoppingOriginatingLocationsCartRaoPopulator extends OriginatingLocationsCartRaoPopulator
Shopping extension of OriginatingLocationsCartRaoPopulator class
  • Constructor Details

    • ShoppingOriginatingLocationsCartRaoPopulator

      public ShoppingOriginatingLocationsCartRaoPopulator()
  • Method Details

    • populate

      public void populate(AbstractOrderModel source, CartRAO target)
      This populator populate the originatingLocations to the cartRao. The Originating Locations should be based on the IP address set in the Session. If the journey contains an accommodation booking, the location from which the request is originated is corresponding to the accommodation Location. Otherwise, the location from which the request is originated is corresponding to the departure location.
      Specified by:
      populate in interface de.hybris.platform.converters.Populator<AbstractOrderModel,CartRAO>
      Overrides:
      populate in class OriginatingLocationsCartRaoPopulator
      Parameters:
      source - the abstractOrderModel
      target - the cartRAO
      Throws:
      de.hybris.platform.servicelayer.dto.converter.ConversionException