Class DefaultPriceAdjustmentStrategy
java.lang.Object
de.hybris.platform.ruleengineservices.calculation.impl.DefaultPriceAdjustmentStrategy
- All Implemented Interfaces:
PriceAdjustmentStrategy<OrderEntryRAO>
public class DefaultPriceAdjustmentStrategy
extends Object
implements PriceAdjustmentStrategy<OrderEntryRAO>
Default implementation of
PriceAdjustmentStrategy for OrderEntryRAO entities-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionget(OrderEntryRAO orderEntryRao, int quantity) Performs calculation of the adjusted price for the provided entry with respect to quantity valueprotected Converter<AbstractOrderRAO,Order> protected NumberedLineItemLookupStrategyvoidsetAbstractOrderRaoToOrderConverter(Converter<AbstractOrderRAO, Order> abstractOrderRaoToOrderConverter) voidsetLineItemLookupStrategy(NumberedLineItemLookupStrategy lineItemLookupStrategy)
-
Constructor Details
-
DefaultPriceAdjustmentStrategy
public DefaultPriceAdjustmentStrategy()
-
-
Method Details
-
get
Description copied from interface:PriceAdjustmentStrategyPerforms calculation of the adjusted price for the provided entry with respect to quantity value- Specified by:
getin interfacePriceAdjustmentStrategy<OrderEntryRAO>- Parameters:
orderEntryRao- an entry to perform price correction on, e.g.OrderEntryRAOquantity- quantity value to be used in price correction related calculations- Returns:
- adjusted price value
-
getAbstractOrderRaoToOrderConverter
-
setAbstractOrderRaoToOrderConverter
public void setAbstractOrderRaoToOrderConverter(Converter<AbstractOrderRAO, Order> abstractOrderRaoToOrderConverter) -
getLineItemLookupStrategy
-
setLineItemLookupStrategy
-