RAOAction hierarchy instead@Deprecated public class DefaultAddCouponRAOAction extends AbstractCommerceRAOAction implements AddCouponRAOAction
AddCouponRAOAction.| Constructor and Description |
|---|
DefaultAddCouponRAOAction()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
AddCouponRAO |
addCoupon(AbstractActionedRAO appliedToObject,
String couponId,
RuleEngineResultRAO result,
Object ruleContext)
Deprecated.
Adds a coupon with specified Id as a result of promotion.
|
adjustStrategyQuantity, adjustUnitPrice, adjustUnitPrice, consumeOrderEntries, consumeOrderEntries, consumeOrderEntry, consumeOrderEntry, createOrderEntryConsumedRAO, getBeanName, getEntriesSelectionStrategies, getNotExecutableActionStrategy, getRaoUtils, getRuleConfigurationRRD, getRuleEngineCalculationService, getRuleGroupExecutionRRD, getSelectedOrderEntryQuantities, getSelectedOrderEntryRaos, hasEnoughQuantity, hasEnoughQuantity, setBeanName, setEntriesSelectionStrategies, setNotExecutableActionStrategy, setRAOMetaData, setRaoUtils, setRuleEngineCalculationService, splitEntriesSelectionStrategies, trackRuleExecution, trackRuleGroupExecution, trackRuleGroupExecutions, updateActionRAOWithConsumed, validateCurrencyIsoCode, validateSelectionStrategycheckAndGetRuleContext, getConfigurationService, getMetaDataFromRule, getMetaDataFromRule, getRuleCode, insertFacts, insertFacts, setConfigurationService, updateFacts, validateRulepublic AddCouponRAO addCoupon(AbstractActionedRAO appliedToObject, String couponId, RuleEngineResultRAO result, Object ruleContext)
AddCouponRAOActionaddCoupon in interface AddCouponRAOActionappliedToObject - an object to apply the discount tocouponId - coupon identifier to add as an action resultresult - the result raoruleContext - an optional context object that can be used to provide additional information for the returned
DiscountRAOCopyright © 2017 SAP SE. All Rights Reserved.