Class ProductPricePopulator<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.ProductPricePopulator<SOURCE,TARGET>
All Implemented Interfaces:
Populator<SOURCE,TARGET>

public class ProductPricePopulator<SOURCE extends ProductModel,TARGET extends ProductData> extends AbstractProductPopulator<SOURCE,TARGET>
Populate the product data with the price information
  • Constructor Details

    • ProductPricePopulator

      public ProductPricePopulator()
  • Method Details

    • getCommercePriceService

      protected CommercePriceService getCommercePriceService()
    • setCommercePriceService

      public void setCommercePriceService(CommercePriceService commercePriceService)
    • getPriceDataFactory

      protected PriceDataFactory getPriceDataFactory()
    • setPriceDataFactory

      public void setPriceDataFactory(PriceDataFactory priceDataFactory)
    • populate

      public void populate(SOURCE productModel, TARGET productData) throws ConversionException
      Description copied from interface: Populator
      Populate the target instance with values from the source instance.
      Parameters:
      productModel - the source object
      productData - the target to fill
      Throws:
      ConversionException - if an error occurs