public class DefaultShippingActionStrategy extends AbstractRuleActionStrategy<RuleBasedOrderChangeDeliveryModeActionModel>
| Constructor and Description |
|---|
DefaultShippingActionStrategy() |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<PromotionResultModel> |
apply(AbstractRuleActionRAO action)
If the parameter action is of type
ShipmentRAO Delivery options set to corresponding fields of Order
model. |
protected DeliveryModeDao |
getDeliveryModeDao() |
protected DeliveryModeModel |
getDeliveryModeForCode(java.lang.String code) |
void |
setDeliveryModeDao(DeliveryModeDao deliveryModeDao) |
void |
undo(ItemModel item)
Revokes the Promotion Action that was applied.
|
createPromotionAction, getActionUtils, getCalculationService, getExtendedOrderDao, getForceImmediateRecalculation, getMetadataHandlers, getModelService, getPromotionAction, getPromotionActionService, getPromotionResultUtils, getRuleActionMetadataHandlers, getStrategyId, handleActionMetadata, handleUndoActionMetadata, recalculateIfNeeded, setActionUtils, setBeanName, setCalculationService, setExtendedOrderDao, setForceImmediateRecalculation, setModelService, setPromotionAction, setPromotionActionService, setPromotionResultUtils, setRuleActionMetadataHandlers, undoInternalpublic java.util.List<PromotionResultModel> apply(AbstractRuleActionRAO action)
ShipmentRAO Delivery options set to corresponding fields of Order
model.action - the action to applypublic void undo(ItemModel item)
RuleActionStrategyitem - the action to be undoneprotected DeliveryModeModel getDeliveryModeForCode(java.lang.String code)
protected DeliveryModeDao getDeliveryModeDao()
public void setDeliveryModeDao(DeliveryModeDao deliveryModeDao)
Copyright © 2018 SAP SE. All Rights Reserved.