| Modifier and Type | Method and Description |
|---|---|
void |
CouponRaoPopulator.populate(AbstractOrderModel cartModel,
CartRAO cartRao) |
| Modifier and Type | Method and Description |
|---|---|
protected OrderEntryRAO |
DefaultRAOActionTest.createOrderEntryRAO(String basePrice,
String currencyIso,
int quantity,
int entryNumber,
CartRAO cart,
ProductRAO product) |
| Modifier and Type | Method and Description |
|---|---|
FreeProductRAO |
DefaultAddProductToCartRAOAction.addFreeProductsToCart(CartRAO cartRao,
String productCode,
int quantity,
Collection<EntriesSelectionStrategyRPD> strategies,
RuleEngineResultRAO result,
Object ruleContext)
Deprecated.
|
FreeProductRAO |
DefaultAddProductToCartRAOAction.addFreeProductsToCart(CartRAO cartRao,
String productCode,
int quantity,
OrderEntryRAO triggeringEntry,
int triggeringEntryQuantity,
RuleEngineResultRAO result,
Object ruleContext)
Deprecated.
|
DiscountRAO |
DefaultAddOrderDiscountRAOAction.addOrderLevelDiscount(CartRAO cartRao,
boolean absolute,
BigDecimal amount,
RuleEngineResultRAO result,
Object ruleContext)
Deprecated.
|
DiscountRAO |
DefaultAddOrderDiscountRAOAction.addOrderLevelDiscount(CartRAO cartRao,
boolean absolute,
BigDecimal amount,
String[] excludedProducts,
RuleEngineResultRAO result,
Object ruleContext)
Deprecated.
|
BigDecimal |
DefaultAddOrderDiscountRAOAction.calculateSubTotals(CartRAO cartRao,
String[] excludedProductCodes)
Deprecated.
|
ShipmentRAO |
DefaultChangeDeliveryModeRAOAction.changeDeliveryMode(CartRAO cartRao,
DeliveryModeRAO mode,
RuleEngineResultRAO result,
Object ruleContext)
Deprecated.
|
ShipmentRAO |
DefaultChangeDeliveryModeRAOAction.changeDeliveryMode(CartRAO cartRao,
String deliveryModeCode,
RuleEngineResultRAO result,
Object ruleContext)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
CartRAO |
DefaultDroolsRuleActionContext.getCartRao() |
| Modifier and Type | Method and Description |
|---|---|
protected CartRAO |
AbstractRuleEngineServicesTest.createCartRAO(String code,
String currencyIso) |
| Modifier and Type | Method and Description |
|---|---|
protected OrderEntryRAO |
AbstractRuleEngineServicesTest.createOrderEntryRAO(CartRAO cartRao,
String basePrice,
String currencyIso,
int quantity,
int entryNumber) |
| Modifier and Type | Method and Description |
|---|---|
protected CartRAO |
AbstractRuleEngineTest.createCartRAO(String code,
String currencyIso) |
| Modifier and Type | Method and Description |
|---|---|
List<DiscountRAO> |
RuleEngineCalculationService.addFixedPriceEntriesDiscount(CartRAO cartRao,
Map<Integer,Integer> selectedOrderEntryMap,
Set<OrderEntryRAO> selectedOrderEntryRaos,
BigDecimal fixedPrice)
Creates order entry level discounts for the cart
cartRao, with the fixedPrice given as parameter
and for the products from entries in selectedOrderEntryRaos and related quantities given in
selectedOrderEntryMap. |
FreeProductRAO |
RuleEngineCalculationService.addFreeProductsToCart(CartRAO cartRao,
ProductModel product,
int quantity)
Adds free product items to the cart.
|
DiscountRAO |
RuleEngineCalculationService.addOrderLevelDiscount(CartRAO cartRao,
boolean absolute,
BigDecimal amount)
Creates a new order level discount based on the given values, adds it to the cartRao and updates the cartRao
totals.
|
BigDecimal |
RuleEngineCalculationService.calculateSubTotals(CartRAO cartRao,
Collection<ProductRAO> excludedProducts)
Runs cart calculation for cart not including the excluded products.
|
ShipmentRAO |
RuleEngineCalculationService.changeDeliveryMode(CartRAO cartRAO,
DeliveryModeRAO deliveryModeRAO)
Changes the current delivery mode to the given values, adds it to the cartRao and updates the carRao totals.
|
| Modifier and Type | Method and Description |
|---|---|
List<DiscountRAO> |
DefaultRuleEngineCalculationService.addFixedPriceEntriesDiscount(CartRAO cartRao,
Map<Integer,Integer> selectedOrderEntryMap,
Set<OrderEntryRAO> selectedOrderEntryRaos,
BigDecimal fixedPrice) |
FreeProductRAO |
DefaultRuleEngineCalculationService.addFreeProductsToCart(CartRAO cartRao,
ProductModel product,
int quantity) |
DiscountRAO |
DefaultRuleEngineCalculationService.addOrderLevelDiscount(CartRAO cartRao,
boolean absolute,
BigDecimal amount)
creates a DiscountRAO for the given CartRAO based on the input.
|
BigDecimal |
DefaultRuleEngineCalculationService.calculateSubTotals(CartRAO cartRao,
Collection<ProductRAO> excludedProducts) |
ShipmentRAO |
DefaultRuleEngineCalculationService.changeDeliveryMode(CartRAO cartRao,
DeliveryModeRAO mode) |
| Modifier and Type | Method and Description |
|---|---|
void |
CartRaoPopulator.populate(AbstractOrderModel source,
CartRAO target) |
| Modifier and Type | Method and Description |
|---|---|
protected CartRAO |
DefaultCartRAOProvider.createRAO(AbstractOrderModel cart) |
| Modifier and Type | Method and Description |
|---|---|
protected Converter<AbstractOrderModel,CartRAO> |
DefaultCartRAOProvider.getCartRaoConverter() |
| Modifier and Type | Method and Description |
|---|---|
protected Set<Object> |
DefaultCartRAOProvider.expandRAO(CartRAO cart,
Collection<String> options) |
| Modifier and Type | Method and Description |
|---|---|
void |
DefaultCartRAOProvider.setCartRaoConverter(Converter<AbstractOrderModel,CartRAO> cartRaoConverter) |
| Modifier and Type | Method and Description |
|---|---|
CartRAO |
DefaultRaoService.createCart() |
CartRAO |
CartRAOBuilder.toCart() |
| Modifier and Type | Method and Description |
|---|---|
void |
DefaultRaoService.addCartDiscount(boolean absolute,
double value,
CartRAO cart) |
protected void |
DefaultRaoService.addCartDiscount(DiscountRAO discount,
CartRAO cart) |
void |
DefaultRaoService.addEntry(OrderEntryRAO entry,
CartRAO cart) |
OrderEntryRAO |
DefaultRaoService.addProduct(ProductRAO promotedProduct,
int quantity,
double basePrice,
CartRAO cart) |
OrderEntryRAO |
DefaultRaoService.addProduct(String code,
int quantity,
double basePrice,
CartRAO cart) |
void |
DefaultRaoService.addPromotedProduct(ProductRAO promotedProduct,
int quantity,
double basePrice,
double promotionValue,
CartRAO cart) |
void |
DefaultRaoService.addPromotedProduct(String productCode,
int quantity,
double basePrice,
double value,
CartRAO cart) |
protected int |
DefaultRaoService.getNewOrderEntryNumber(CartRAO cart) |
| Constructor and Description |
|---|
CartRAOBuilder(CartRAO cart) |
| Modifier and Type | Method and Description |
|---|---|
CartRAO |
RuleActionContext.getCartRao()
Get cart RAO
|
| Modifier and Type | Method and Description |
|---|---|
FreeProductRAO |
AddProductToCartRAOAction.addFreeProductsToCart(CartRAO cartRao,
String productCode,
int quantity,
Collection<EntriesSelectionStrategyRPD> strategies,
RuleEngineResultRAO result,
Object ruleContext)
Adds free product items to the cart.
|
FreeProductRAO |
AddProductToCartRAOAction.addFreeProductsToCart(CartRAO cartRao,
String productCode,
int quantity,
OrderEntryRAO triggeringEntry,
int triggeringEntryQuantity,
RuleEngineResultRAO result,
Object ruleContext)
Adds free product items to the cart.
|
DiscountRAO |
AddOrderDiscountRAOAction.addOrderLevelDiscount(CartRAO cartRao,
boolean absolute,
BigDecimal amount,
RuleEngineResultRAO result,
Object ruleContext)
Adds an order level discount to the given
cartRao, recalculates the cart totals and returns the discount. |
DiscountRAO |
AddOrderDiscountRAOAction.addOrderLevelDiscount(CartRAO cartRao,
boolean absolute,
BigDecimal amount,
String[] excludedProducts,
RuleEngineResultRAO result,
Object ruleContext)
Adds an order-level discount to the
cartRao and recalculates cart totals. |
BigDecimal |
AddOrderDiscountRAOAction.calculateSubTotals(CartRAO cartRao,
String[] excludedProductCodes)
Calculates the cart sub total for CartRao excluding a set of products.
|
ShipmentRAO |
ChangeDeliveryModeRAOAction.changeDeliveryMode(CartRAO cartRao,
DeliveryModeRAO mode,
RuleEngineResultRAO result,
Object ruleContext)
Changes the current delivery mode to the given values, adds it to the cartRao and recalculates the carRao totals.
|
ShipmentRAO |
ChangeDeliveryModeRAOAction.changeDeliveryMode(CartRAO cartRao,
String deliveryModeCode,
RuleEngineResultRAO result,
Object ruleContext)
Changes the current delivery mode to the given values, adds it to the cartRao and recalculates the carRao totals.
|
| Modifier and Type | Method and Description |
|---|---|
protected BigDecimal |
RuleOrderPercentageDiscountExcludedProductsRAOAction.calculateSubTotals(CartRAO cartRao,
List<String> excludedProductCodes) |
void |
RuleChangeDeliveryModeRAOAction.changeDeliveryMode(CartRAO cartRao,
DeliveryModeRAO mode,
RuleEngineResultRAO result,
RuleActionContext context) |
| Modifier and Type | Method and Description |
|---|---|
CartRAO |
CartRaoBuilder.CartRaoDraft.getCart() |
CartRAO |
CartTestContextBuilder.getCartRAO() |
| Modifier and Type | Method and Description |
|---|---|
void |
ProductConfigCartRAOPopulator.populate(CartModel source,
CartRAO target) |
| Modifier and Type | Method and Description |
|---|---|
protected CartRAO |
ProductConfigCartRAOProvider.createRAO(CartModel modelFact) |
| Modifier and Type | Method and Description |
|---|---|
Converter<CartModel,CartRAO> |
ProductConfigCartRAOProvider.getCartRaoConverter() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
ProductConfigCartRAOProvider.addUserAndGroupsRAOs(Set<Object> raoSet,
CartRAO cartRAO) |
| Modifier and Type | Method and Description |
|---|---|
void |
ProductConfigCartRAOProvider.setCartRaoConverter(Converter<CartModel,CartRAO> cartRaoConverter) |
Copyright © 2017 SAP SE. All Rights Reserved.