Class ProductPricePopulator<SOURCE extends ProductModel,​TARGET extends ProductData>

    • Constructor Detail

      • ProductPricePopulator

        public ProductPricePopulator()
    • Method Detail

      • setCommercePriceService

        public void setCommercePriceService​(CommercePriceService commercePriceService)
      • 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