Class SetCancellledStrategy
java.lang.Object
de.hybris.platform.ordercancel.impl.orderstatechangingstrategies.SetCancellledStrategy
- All Implemented Interfaces:
OrderStatusChangeStrategy
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidchangeOrderStatusAfterCancelOperation(OrderCancelRecordEntryModel orderCancelRecordEntry, boolean saveOrderModel) protected voidClear the delivery mode and discount to avoid additional costs or negative discount being calculated in the complete cancelled ordervoidsetModelService(ModelService modelService)
-
Constructor Details
-
SetCancellledStrategy
public SetCancellledStrategy()
-
-
Method Details
-
changeOrderStatusAfterCancelOperation
public void changeOrderStatusAfterCancelOperation(OrderCancelRecordEntryModel orderCancelRecordEntry, boolean saveOrderModel) - Specified by:
changeOrderStatusAfterCancelOperationin interfaceOrderStatusChangeStrategy
-
getModelService
- Returns:
- the modelService
-
setModelService
- Parameters:
modelService- the modelService to set
-
clearAdditionalCostsForCompleteCancelledOrder
Clear the delivery mode and discount to avoid additional costs or negative discount being calculated in the complete cancelled order- Parameters:
order- the complete cancelled order
-