public interface AddProductToCartRAOAction
| Modifier and Type | Method and Description |
|---|---|
FreeProductRAO |
addFreeProductsToCart(CartRAO cartRao,
java.lang.String productCode,
int quantity,
java.util.Collection<EntriesSelectionStrategyRPD> strategies,
RuleEngineResultRAO result,
java.lang.Object ruleContext)
Adds free product items to the cart.
|
FreeProductRAO |
addFreeProductsToCart(CartRAO cartRao,
java.lang.String productCode,
int quantity,
OrderEntryRAO triggeringEntry,
int triggeringEntryQuantity,
RuleEngineResultRAO result,
java.lang.Object ruleContext)
Adds free product items to the cart.
|
FreeProductRAO addFreeProductsToCart(CartRAO cartRao, java.lang.String productCode, int quantity, OrderEntryRAO triggeringEntry, int triggeringEntryQuantity, RuleEngineResultRAO result, java.lang.Object ruleContext)
cartRao - the cartRao where a product is addedproductCode - code of a product to addquantity - quantity of product items to addtriggeringEntry - order entry which triggered the ruletriggeringEntryQuantity - quantity of triggering entry to consumeresult - the result raoruleContext - an optional context object that can be used to provide additional information for the returned
DiscountRAOFreeProductRAO addFreeProductsToCart(CartRAO cartRao, java.lang.String productCode, int quantity, java.util.Collection<EntriesSelectionStrategyRPD> strategies, RuleEngineResultRAO result, java.lang.Object ruleContext)
cartRao - the cartRao where a product is addedproductCode - code of a product to addquantity - quantity of product items to addstrategies - the selection strategies containing the order entriesresult - the result raoruleContext - an optional context object that can be used to provide additional information for the returned
DiscountRAOCopyright © 2018 SAP SE. All Rights Reserved.