public class DefaultCommerceQuoteCartCalculationMethodHook extends java.lang.Object implements CommerceCartCalculationMethodHook
| Constructor and Description |
|---|
DefaultCommerceQuoteCartCalculationMethodHook() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterCalculate(CommerceCartParameter parameter)
Executed after commerce cart calculation
|
void |
beforeCalculate(CommerceCartParameter parameter)
Executed before commerce cart calculation
|
protected CalculationService |
getCalculationService() |
protected ModelService |
getModelService() |
protected OrderQuoteDiscountValuesAccessor |
getOrderQuoteDiscountValuesAccessor() |
void |
setCalculationService(CalculationService calculationService) |
void |
setModelService(ModelService modelService) |
void |
setOrderQuoteDiscountValuesAccessor(OrderQuoteDiscountValuesAccessor orderQuoteDiscountValuesAccessor) |
public DefaultCommerceQuoteCartCalculationMethodHook()
public void afterCalculate(CommerceCartParameter parameter)
CommerceCartCalculationMethodHookafterCalculate in interface CommerceCartCalculationMethodHookparameter - a parameter object holding the cart data. parameter.cart may not be null.public void beforeCalculate(CommerceCartParameter parameter)
CommerceCartCalculationMethodHookbeforeCalculate in interface CommerceCartCalculationMethodHookparameter - a parameter object holding the cart data. parameter.cart may not be null.protected OrderQuoteDiscountValuesAccessor getOrderQuoteDiscountValuesAccessor()
public void setOrderQuoteDiscountValuesAccessor(OrderQuoteDiscountValuesAccessor orderQuoteDiscountValuesAccessor)
protected CalculationService getCalculationService()
public void setCalculationService(CalculationService calculationService)
protected ModelService getModelService()
public void setModelService(ModelService modelService)
Copyright © 2018 SAP SE. All Rights Reserved.