Class OPPSPromotionsPopulator<SOURCE extends ProductModel,TARGET extends ProductData>

java.lang.Object
de.hybris.platform.commercefacades.product.converters.populator.AbstractProductPopulator<SOURCE,TARGET>
de.hybris.platform.commercefacades.product.converters.populator.ProductPromotionsPopulator<SOURCE,TARGET>
com.sap.retail.sapppspricing.populator.OPPSPromotionsPopulator<SOURCE,TARGET>
All Implemented Interfaces:
de.hybris.platform.converters.Populator<SOURCE,TARGET>

public class OPPSPromotionsPopulator<SOURCE extends ProductModel,TARGET extends ProductData> extends de.hybris.platform.commercefacades.product.converters.populator.ProductPromotionsPopulator<SOURCE,TARGET>
Populator to populate OPPS promotions to Product data
  • Constructor Details

    • OPPSPromotionsPopulator

      public OPPSPromotionsPopulator()
  • Method Details

    • populate

      public void populate(SOURCE source, TARGET target) throws de.hybris.platform.servicelayer.dto.converter.ConversionException
      Populates promotion-related data from the OPPS to the Product Data.
      Specified by:
      populate in interface de.hybris.platform.converters.Populator<SOURCE extends ProductModel,TARGET extends ProductData>
      Overrides:
      populate in class de.hybris.platform.commercefacades.product.converters.populator.ProductPromotionsPopulator<SOURCE extends ProductModel,TARGET extends ProductData>
      Parameters:
      source - The source product model.
      target - The target product data.
      Throws:
      de.hybris.platform.servicelayer.dto.converter.ConversionException
    • getPricingBackend

      public PricingBackend getPricingBackend()
      Returns:
      the pricingBackend
    • setPricingBackend

      public void setPricingBackend(PricingBackend pricingBackend)
      Parameters:
      pricingBackend - the pricingBackend to set
    • getNetGrossStrategy

      public de.hybris.platform.commerceservices.strategies.NetGrossStrategy getNetGrossStrategy()
      Returns:
      the netGrossStrategy
    • setNetGrossStrategy

      public void setNetGrossStrategy(de.hybris.platform.commerceservices.strategies.NetGrossStrategy netGrossStrategy)
      Parameters:
      netGrossStrategy - the netGrossStrategy to set
    • getConfigService

      public PPSConfigService getConfigService()
      Returns:
      the configService
    • setConfigService

      public void setConfigService(PPSConfigService configService)
      Parameters:
      configService - the configService to set