Class OrderEntryRaoPopulator
- java.lang.Object
-
- de.hybris.platform.ruleengineservices.converters.populator.OrderEntryRaoPopulator
-
- All Implemented Interfaces:
Populator<AbstractOrderEntryModel,OrderEntryRAO>
public class OrderEntryRaoPopulator extends java.lang.Object implements Populator<AbstractOrderEntryModel,OrderEntryRAO>
Converter implementation forAbstractOrderEntryModelas source andOrderEntryRAOas target type.
-
-
Constructor Summary
Constructors Constructor Description OrderEntryRaoPopulator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidapplyDiscount(OrderEntryRAO target, DiscountValue discountValue)protected CurrencyUtilsgetCurrencyUtils()protected Converter<DiscountValue,DiscountValueRAO>getDiscountValueConverter()protected Converter<ProductModel,ProductRAO>getProductConverter()voidpopulate(AbstractOrderEntryModel source, OrderEntryRAO target)Populate the target instance with values from the source instance.voidsetCurrencyUtils(CurrencyUtils currencyUtils)voidsetDiscountValueConverter(Converter<DiscountValue,DiscountValueRAO> discountValueConverter)voidsetProductConverter(Converter<ProductModel,ProductRAO> productConverter)
-
-
-
Method Detail
-
populate
public void populate(AbstractOrderEntryModel source, OrderEntryRAO target)
Description copied from interface:PopulatorPopulate the target instance with values from the source instance.- Specified by:
populatein interfacePopulator<AbstractOrderEntryModel,OrderEntryRAO>- Parameters:
source- the source objecttarget- the target to fill
-
applyDiscount
protected void applyDiscount(OrderEntryRAO target, DiscountValue discountValue)
-
getProductConverter
protected Converter<ProductModel,ProductRAO> getProductConverter()
-
setProductConverter
public void setProductConverter(Converter<ProductModel,ProductRAO> productConverter)
-
getDiscountValueConverter
protected Converter<DiscountValue,DiscountValueRAO> getDiscountValueConverter()
-
setDiscountValueConverter
public void setDiscountValueConverter(Converter<DiscountValue,DiscountValueRAO> discountValueConverter)
-
getCurrencyUtils
protected CurrencyUtils getCurrencyUtils()
-
setCurrencyUtils
public void setCurrencyUtils(CurrencyUtils currencyUtils)
-
-