Class VariantOptionDataPricePopulator<SOURCE extends VariantProductModel,TARGET extends VariantOptionData>
- java.lang.Object
-
- de.hybris.platform.commercefacades.product.converters.populator.variantoptions.VariantOptionDataPricePopulator<SOURCE,TARGET>
-
- All Implemented Interfaces:
Populator<SOURCE,TARGET>
public class VariantOptionDataPricePopulator<SOURCE extends VariantProductModel,TARGET extends VariantOptionData> extends java.lang.Object implements Populator<SOURCE,TARGET>
-
-
Constructor Summary
Constructors Constructor Description VariantOptionDataPricePopulator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected CommercePriceServicegetCommercePriceService()protected PriceDataFactorygetPriceDataFactory()voidpopulate(VariantProductModel variantProductModel, VariantOptionData variantOptionData)Populate the target instance with values from the source instance.voidsetCommercePriceService(CommercePriceService commercePriceService)voidsetPriceDataFactory(PriceDataFactory priceDataFactory)
-
-
-
Method Detail
-
populate
public void populate(VariantProductModel variantProductModel, VariantOptionData variantOptionData) throws ConversionException
Description copied from interface:PopulatorPopulate the target instance with values from the source instance.- Specified by:
populatein interfacePopulator<SOURCE extends VariantProductModel,TARGET extends VariantOptionData>- Parameters:
variantProductModel- the source objectvariantOptionData- the target to fill- Throws:
ConversionException- if an error occurs
-
getCommercePriceService
protected CommercePriceService getCommercePriceService()
-
setCommercePriceService
public void setCommercePriceService(CommercePriceService commercePriceService)
-
getPriceDataFactory
protected PriceDataFactory getPriceDataFactory()
-
setPriceDataFactory
public void setPriceDataFactory(PriceDataFactory priceDataFactory)
-
-