Class OrderEntryRaoPopulator
java.lang.Object
de.hybris.platform.ruleengineservices.converters.populator.OrderEntryRaoPopulator
- All Implemented Interfaces:
Populator<AbstractOrderEntryModel,OrderEntryRAO>
public class OrderEntryRaoPopulator
extends Object
implements Populator<AbstractOrderEntryModel,OrderEntryRAO>
Converter implementation for
AbstractOrderEntryModel as source and OrderEntryRAO as target type.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidapplyDiscount(OrderEntryRAO target, DiscountValue discountValue) protected CurrencyUtilsprotected Converter<DiscountValue,DiscountValueRAO> protected Populator<ProductModel,OrderEntryRAO> voidpopulate(AbstractOrderEntryModel source, OrderEntryRAO target) Populate the target instance with values from the source instance.voidsetCurrencyUtils(CurrencyUtils currencyUtils) voidsetDiscountValueConverter(Converter<DiscountValue, DiscountValueRAO> discountValueConverter) voidsetOrderEntryRaoProductPopulator(Populator<ProductModel, OrderEntryRAO> orderEntryRaoProductPopulator)
-
Constructor Details
-
OrderEntryRaoPopulator
public OrderEntryRaoPopulator()
-
-
Method Details
-
populate
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
-
getDiscountValueConverter
-
setDiscountValueConverter
public void setDiscountValueConverter(Converter<DiscountValue, DiscountValueRAO> discountValueConverter) -
getCurrencyUtils
-
setCurrencyUtils
-
getOrderEntryRaoProductPopulator
-
setOrderEntryRaoProductPopulator
public void setOrderEntryRaoProductPopulator(Populator<ProductModel, OrderEntryRAO> orderEntryRaoProductPopulator)
-