Class PromotionRestrictionPopulator
java.lang.Object
de.hybris.platform.commercefacades.promotion.converters.populator.PromotionRestrictionPopulator
- All Implemented Interfaces:
Populator<AbstractPromotionRestrictionModel,PromotionRestrictionData>
public class PromotionRestrictionPopulator
extends Object
implements Populator<AbstractPromotionRestrictionModel,PromotionRestrictionData>
Populator implementation for
AbstractPromotionRestrictionModel as source
and PromotionRestrictionData as target type.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidpopulate(AbstractPromotionRestrictionModel source, PromotionRestrictionData target) Populate the target instance with values from the source instance.
-
Constructor Details
-
PromotionRestrictionPopulator
public PromotionRestrictionPopulator()
-
-
Method Details
-
populate
public void populate(AbstractPromotionRestrictionModel source, PromotionRestrictionData target) throws ConversionException Description copied from interface:PopulatorPopulate the target instance with values from the source instance.- Specified by:
populatein interfacePopulator<AbstractPromotionRestrictionModel,PromotionRestrictionData> - Parameters:
source- the source objecttarget- the target to fill- Throws:
ConversionException- if an error occurs
-