Class DefaultTmaPromotionAddProductToCartActionStrategy
java.lang.Object
de.hybris.platform.promotionengineservices.action.impl.AbstractRuleActionStrategy<RuleBasedOrderAddProductActionModel>
de.hybris.platform.promotionengineservices.action.impl.DefaultAddProductToCartActionStrategy
de.hybris.platform.b2ctelcoservices.promotion.action.impl.DefaultTmaPromotionAddProductToCartActionStrategy
- All Implemented Interfaces:
de.hybris.platform.ruleengineservices.action.RuleActionStrategy,org.springframework.beans.factory.Aware,org.springframework.beans.factory.BeanNameAware
public class DefaultTmaPromotionAddProductToCartActionStrategy
extends de.hybris.platform.promotionengineservices.action.impl.DefaultAddProductToCartActionStrategy
Strategy to add the free product to cart by setting TUA specific attributes.
- Since:
- 2003
-
Constructor Summary
ConstructorsConstructorDescriptionDefaultTmaPromotionAddProductToCartActionStrategy(TmaAbstractOrderPriceBuilder orderPriceBuilder) -
Method Summary
Modifier and TypeMethodDescriptionapply(AbstractRuleActionRAO action) protected voidapplyPromotion(PromotionResultModel appliedPromotion) protected TmaAbstractOrderPriceBuilderprotected voidupdateEntry(AbstractOrderEntryModel entryToUpdate, AbstractOrderModel order) Methods inherited from class de.hybris.platform.promotionengineservices.action.impl.DefaultAddProductToCartActionStrategy
addNewEntry, createOrderAddProductAction, findMatchingGiveAwayEntry, findOrderEntryForUndo, getCartService, getExistingGiveAwayEntry, getOrderService, getOrderUtils, getProductService, getRuleEngineCalculationService, getUnit, normalizeEntryNumbers, setCartService, setOrderService, setOrderUtils, setProductService, setRuleEngineCalculationService, undoMethods inherited from class de.hybris.platform.promotionengineservices.action.impl.AbstractRuleActionStrategy
createPromotionAction, getActionUtils, getDefaultRuleMetadataKeys, getExtendedOrderDao, getForceImmediateRecalculation, getMetadataHandlers, getModelService, getPromotionAction, getPromotionActionService, getPromotionResultUtils, getRuleActionMetadataHandlers, getStrategyId, handleActionMetadata, handleUndoActionMetadata, recalculateIfNeeded, setActionUtils, setBeanName, setCalculationService, setDefaultRuleMetadataKeys, setExtendedOrderDao, setForceImmediateRecalculation, setModelService, setPromotionAction, setPromotionActionService, setPromotionResultUtils, setRuleActionMetadataHandlers, undoInternal
-
Constructor Details
-
DefaultTmaPromotionAddProductToCartActionStrategy
public DefaultTmaPromotionAddProductToCartActionStrategy(TmaAbstractOrderPriceBuilder orderPriceBuilder)
-
-
Method Details
-
apply
- Specified by:
applyin interfacede.hybris.platform.ruleengineservices.action.RuleActionStrategy- Overrides:
applyin classde.hybris.platform.promotionengineservices.action.impl.DefaultAddProductToCartActionStrategy
-
applyPromotion
-
updateEntry
-
getOrderPriceBuilder
-
getCalculationService
- Overrides:
getCalculationServicein classde.hybris.platform.promotionengineservices.action.impl.AbstractRuleActionStrategy<RuleBasedOrderAddProductActionModel>
-