| 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 |
|---|---|
protected Set<OrderEntryRAO> |
AbstractCommerceRAOAction.getSelectedOrderEntryRaos(Collection<EntriesSelectionStrategyRPD> selectionStrategyRPDs,
Map<Integer,Integer> selectedOrderEntryMap)
Deprecated.
Gets Order Entry set to be discounted as a result of bundle processing.
|
| Modifier and Type | Method and Description |
|---|---|
DiscountRAO |
DefaultAddFixedPriceEntryDiscountRAOAction.addFixedPriceEntryDiscount(OrderEntryRAO orderEntryRao,
BigDecimal fixedPrice,
RuleEngineResultRAO result,
Object ruleContext)
Deprecated.
|
FreeProductRAO |
DefaultAddProductToCartRAOAction.addFreeProductsToCart(CartRAO cartRao,
String productCode,
int quantity,
OrderEntryRAO triggeringEntry,
int triggeringEntryQuantity,
RuleEngineResultRAO result,
Object ruleContext)
Deprecated.
|
DiscountRAO |
DefaultAddOrderEntryDiscountRAOAction.addOrderEntryLevelDiscount(OrderEntryRAO orderEntryRao,
boolean absolute,
BigDecimal amount,
RuleEngineResultRAO result,
Object ruleContext)
Deprecated.
|
protected BigDecimal |
AbstractCommerceRAOAction.adjustUnitPrice(OrderEntryRAO orderEntryRao)
Deprecated.
|
protected BigDecimal |
AbstractCommerceRAOAction.adjustUnitPrice(OrderEntryRAO orderEntryRao,
int quantity)
Deprecated.
|
protected OrderEntryConsumedRAO |
AbstractCommerceRAOAction.consumeOrderEntry(OrderEntryRAO orderEntryRAO,
AbstractRuleActionRAO actionRAO)
Deprecated.
Creates a new
OrderEntryConusmedRAO that consumes the given orderEntryRAO and adds the consumed entry to
the given actionRAO |
protected OrderEntryConsumedRAO |
AbstractCommerceRAOAction.consumeOrderEntry(OrderEntryRAO orderEntryRAO,
int quantity,
BigDecimal discountValue,
AbstractRuleActionRAO actionRAO)
Deprecated.
|
protected OrderEntryConsumedRAO |
AbstractCommerceRAOAction.createOrderEntryConsumedRAO(OrderEntryRAO orderEntryRAO,
int quantity,
BigDecimal discountValue)
Deprecated.
|
protected boolean |
DefaultAddOrderEntryDiscountRAOAction.mergeDiscounts(DiscountRAO discountRao,
OrderEntryRAO entry,
KnowledgeHelper context)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
List<DiscountRAO> |
DefaultAddFixedPriceEntryDiscountRAOAction.addFixedPriceEntryDiscounts(Collection<OrderEntryRAO> orderEntryList,
BigDecimal fixedPrice,
RuleEngineResultRAO result,
Object ruleContext)
Deprecated.
|
List<DiscountRAO> |
DefaultAddOrderEntryDiscountRAOAction.addOrderEntryLevelDiscounts(Collection<OrderEntryRAO> orderEntryList,
boolean absolute,
BigDecimal amount,
RuleEngineResultRAO result,
Object ruleContext)
Deprecated.
|
protected Set<OrderEntryConsumedRAO> |
AbstractCommerceRAOAction.consumeOrderEntries(Set<OrderEntryRAO> selectedEntries,
Map<Integer,Integer> selectedEntriesMap,
AbstractRuleActionRAO actionRAO)
Deprecated.
Creates new
OrderEntryConusmedRAOs with the given quantity, links it to the given actionRAO and
reduces available quantity of order entry by given quantity for every Order Entry from the set and using quantity
from discountedOrderEntryMap. |
| Modifier and Type | Method and Description |
|---|---|
protected OrderEntryRAO |
AbstractRuleEngineServicesTest.createOrderEntryRAO(CartRAO cartRao,
String basePrice,
String currencyIso,
int quantity,
int entryNumber) |
protected OrderEntryRAO |
AbstractRuleEngineServicesTest.createOrderEntryRAO(String basePrice,
String currencyIso,
int quantity,
int entryNumber) |
| Modifier and Type | Method and Description |
|---|---|
protected Set<OrderEntryRAO> |
AbstractRuleEngineServicesTest.set(OrderEntryRAO... entries) |
| Modifier and Type | Method and Description |
|---|---|
protected Set<OrderEntryRAO> |
AbstractRuleEngineServicesTest.set(OrderEntryRAO... entries) |
| Modifier and Type | Method and Description |
|---|---|
protected AbstractOrderEntryModel |
DefaultPromotionActionService.getOrderEntry(OrderEntryRAO orderEntryRao) |
| Modifier and Type | Method and Description |
|---|---|
protected OrderEntryRAO |
AbstractRuleEngineTest.createOrderEntryRAO(AbstractOrderRAO order,
String basePrice,
String currencyIso,
int quantity) |
protected OrderEntryRAO |
AbstractRuleEngineTest.createOrderEntryRAO(AbstractOrderRAO order,
String basePrice,
String currencyIso,
int quantity,
int entryNumber) |
protected OrderEntryRAO |
AbstractRuleEngineTest.createOrderEntryRAO(String basePrice,
String currencyIso,
int quantity,
int entryNumber) |
| Modifier and Type | Method and Description |
|---|---|
protected Set<OrderEntryRAO> |
AbstractRuleEngineTest.set(OrderEntryRAO... entries) |
| Modifier and Type | Method and Description |
|---|---|
DiscountRAO |
RuleEngineCalculationService.addFixedPriceEntryDiscount(OrderEntryRAO orderEntryRao,
BigDecimal fixedPrice)
Creates a new order entry level discount such that the order entry's price will be equal to the given
fixedPrice multiplied by quantity. |
DiscountRAO |
RuleEngineCalculationService.addOrderEntryLevelDiscount(OrderEntryRAO orderEntryRao,
boolean absolute,
BigDecimal amount)
Creates a new order entry level discount based on the given values, adds it to the corresponding orderRao and
updates the orderRao totals.
|
protected EntriesSelectionStrategyRPD |
AbstractRuleEngineTest.createEntriesSelectionStrategyRPD(OrderEntrySelectionStrategy strategy,
int quantity,
boolean isTargetOfAction,
OrderEntryRAO... orderEntryRAO) |
BigDecimal |
RuleEngineCalculationService.getAdjustedUnitPrice(int quantity,
OrderEntryRAO orderEntryRao)
Gets the total discount for line item and recalculates the discounted unit price.
|
protected Set<OrderEntryRAO> |
AbstractRuleEngineTest.set(OrderEntryRAO... entries) |
| 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. |
List<DiscountRAO> |
RuleEngineCalculationService.addOrderEntryLevelDiscount(Map<Integer,Integer> selectedOrderEntryMap,
Set<OrderEntryRAO> selectedOrderEntryRaos,
boolean absolute,
BigDecimal amount)
Creates order entry level discounts for the cart
cartRao, adds it to the cartRao and updates the cartRao
totals. |
BigDecimal |
RuleEngineCalculationService.getCurrentPrice(Set<OrderEntryRAO> orderEntryForDiscounts,
Map<Integer,Integer> discountedOrderEntryMap)
Calculates current price of the set of Order Entries using only specified quantity of units for every Order Entry.
|
| Modifier and Type | Method and Description |
|---|---|
protected OrderEntryRAO |
DefaultRuleEngineCalculationService.findOrderEntryRAO(AbstractOrderRAO order,
NumberedLineItem lineItem)
returns the corresponding OrderEntryRAO for the given
lineItem. |
| Modifier and Type | Method and Description |
|---|---|
protected List<OrderEntryRAO> |
DefaultEntriesSelectionStrategy.getOrderEntriesToProcess(EntriesSelectionStrategyRPD strategy)
Gets not ordered list of Order Entries from the strategy.
|
protected List<OrderEntryRAO> |
CheapestEntriesSelectionStrategy.getOrderEntriesToProcess(EntriesSelectionStrategyRPD strategy)
Gets ordered list of Order Entries from strategy according to product prices comparing OrderEntryRAO.basePrice -
the cheapest first.
|
| Modifier and Type | Method and Description |
|---|---|
DiscountRAO |
DefaultRuleEngineCalculationService.addFixedPriceEntryDiscount(OrderEntryRAO orderEntryRao,
BigDecimal fixedPrice) |
DiscountRAO |
DefaultRuleEngineCalculationService.addOrderEntryLevelDiscount(OrderEntryRAO orderEntryRao,
boolean absolute,
BigDecimal amount)
creates a DiscountRAO for the given OrderEntryRAO based on the input.
|
protected NumberedLineItem |
DefaultRuleEngineCalculationService.findLineItem(Order cart,
OrderEntryRAO entryRao)
returns the corresponding NumberedLineItem for the given
entryRao. |
BigDecimal |
DefaultRuleEngineCalculationService.getAdjustedUnitPrice(int quantity,
OrderEntryRAO orderEntryRao) |
| Modifier and Type | Method and Description |
|---|---|
List<DiscountRAO> |
DefaultRuleEngineCalculationService.addFixedPriceEntriesDiscount(CartRAO cartRao,
Map<Integer,Integer> selectedOrderEntryMap,
Set<OrderEntryRAO> selectedOrderEntryRaos,
BigDecimal fixedPrice) |
List<DiscountRAO> |
DefaultRuleEngineCalculationService.addOrderEntryLevelDiscount(Map<Integer,Integer> selectedOrderEntryMap,
Set<OrderEntryRAO> selectedOrderEntryRaos,
boolean absolute,
BigDecimal amount) |
BigDecimal |
DefaultRuleEngineCalculationService.getCurrentPrice(Set<OrderEntryRAO> orderEntryForDiscounts,
Map<Integer,Integer> discountedOrderEntryMap) |
| Modifier and Type | Method and Description |
|---|---|
protected Converter<OrderEntryRAO,NumberedLineItem> |
AbstractOrderRaoToOrderConverter.getOrderEntryRaoToNumberedLineItemConverter() |
| Modifier and Type | Method and Description |
|---|---|
NumberedLineItem |
OrderEntryRaoToNumberedLineItemConverter.convert(OrderEntryRAO entryRao) |
NumberedLineItem |
OrderEntryRaoToNumberedLineItemConverter.convert(OrderEntryRAO paramSOURCE,
NumberedLineItem paramTARGET) |
| Modifier and Type | Method and Description |
|---|---|
void |
AbstractOrderRaoToOrderConverter.setOrderEntryRaoToNumberedLineItemConverter(Converter<OrderEntryRAO,NumberedLineItem> orderEntryRaoToNumberedLineItemConverter) |
| Modifier and Type | Method and Description |
|---|---|
protected Converter<AbstractOrderEntryModel,OrderEntryRAO> |
AbstractOrderRaoPopulator.getEntryConverter() |
| Modifier and Type | Method and Description |
|---|---|
void |
OrderEntryRaoPopulator.populate(AbstractOrderEntryModel source,
OrderEntryRAO target) |
| Modifier and Type | Method and Description |
|---|---|
void |
AbstractOrderRaoPopulator.setEntryConverter(Converter<AbstractOrderEntryModel,OrderEntryRAO> entryConverter) |
| Modifier and Type | Method and Description |
|---|---|
OrderEntryRAO |
FreeProductRAO.getAddedOrderEntry() |
OrderEntryRAO |
OrderEntryConsumedRAO.getOrderEntry() |
| Modifier and Type | Method and Description |
|---|---|
Set<OrderEntryRAO> |
AbstractOrderRAO.getEntries() |
List<OrderEntryRAO> |
EntriesSelectionStrategyRPD.getOrderEntries() |
| Modifier and Type | Method and Description |
|---|---|
void |
FreeProductRAO.setAddedOrderEntry(OrderEntryRAO addedOrderEntry) |
void |
OrderEntryConsumedRAO.setOrderEntry(OrderEntryRAO orderEntry) |
| Modifier and Type | Method and Description |
|---|---|
void |
AbstractOrderRAO.setEntries(Set<OrderEntryRAO> entries) |
void |
EntriesSelectionStrategyRPD.setOrderEntries(List<OrderEntryRAO> orderEntries) |
| Modifier and Type | Method and Description |
|---|---|
OrderEntryRAO |
DefaultRaoService.addProduct(ProductRAO promotedProduct,
int quantity,
double basePrice,
CartRAO cart) |
OrderEntryRAO |
DefaultRaoService.addProduct(String code,
int quantity,
double basePrice,
CartRAO cart) |
OrderEntryRAO |
DefaultRaoService.createOrderEntry() |
OrderEntryRAO |
DefaultRaoService.createOrderEntry(AbstractOrderRAO order,
ProductRAO product,
double basePrice,
int quantity,
int entryNumber) |
OrderEntryRAO |
CartRAOBuilder.getLastOrderEntry() |
| Modifier and Type | Method and Description |
|---|---|
CartRAOBuilder |
CartRAOBuilder.addEntry(OrderEntryRAO rao) |
void |
DefaultRaoService.addEntry(OrderEntryRAO entry,
CartRAO cart) |
void |
DefaultRaoService.addEntryDiscount(boolean absolute,
double value,
OrderEntryRAO entry) |
protected void |
DefaultRaoService.addEntryDiscount(DiscountRAO discount,
OrderEntryRAO entry) |
| Modifier and Type | Method and Description |
|---|---|
DiscountRAO |
AddFixedPriceEntryDiscountRAOAction.addFixedPriceEntryDiscount(OrderEntryRAO orderEntryRao,
BigDecimal fixedPrice,
RuleEngineResultRAO result,
Object ruleContext)
Adds an order entry level discount to the given
orderEntryRao such that the final price of the discounted
order entry will be the fixedPrice. |
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 |
AddOrderEntryDiscountRAOAction.addOrderEntryLevelDiscount(OrderEntryRAO orderEntryRao,
boolean absolute,
BigDecimal amount,
RuleEngineResultRAO result,
Object ruleContext)
Adds an order entry level discount to the given
orderEntryRao, recalculates the cart totals and returns
the discount. |
| Modifier and Type | Method and Description |
|---|---|
List<DiscountRAO> |
AddFixedPriceEntryDiscountRAOAction.addFixedPriceEntryDiscounts(Collection<OrderEntryRAO> orderEntryRao,
BigDecimal fixedPrice,
RuleEngineResultRAO result,
Object ruleContext)
Adds an order entry level discount to each of the the given
orderEntryRao such that the final price of the
discounted order entry will be the fixedPrice. |
List<DiscountRAO> |
AddOrderEntryDiscountRAOAction.addOrderEntryLevelDiscounts(Collection<OrderEntryRAO> orderEntryList,
boolean absolute,
BigDecimal amount,
RuleEngineResultRAO result,
Object ruleContext)
Adds an order entry level discount for each order entry element in
orderEntryList, recalculates the cart
totals and returns the discount. |
| Modifier and Type | Method and Description |
|---|---|
protected Set<OrderEntryRAO> |
AbstractRulePartnerProductAction.getOrderEntries(RuleActionContext context,
Map.Entry<String,Integer> entry) |
protected Set<OrderEntryRAO> |
AbstractRuleExecutableSupport.getSelectedOrderEntryRaos(Collection<EntriesSelectionStrategyRPD> selectionStrategyRPDs,
Map<Integer,Integer> selectedOrderEntryMap)
Gets Order Entry set to be discounted as a result of bundle processing.
|
| Modifier and Type | Method and Description |
|---|---|
protected BigDecimal |
AbstractRuleExecutableSupport.adjustUnitPrice(OrderEntryRAO orderEntryRao) |
protected BigDecimal |
AbstractRuleExecutableSupport.adjustUnitPrice(OrderEntryRAO orderEntryRao,
int quantity) |
protected OrderEntryConsumedRAO |
AbstractRuleExecutableSupport.consumeOrderEntry(OrderEntryRAO orderEntryRAO,
AbstractRuleActionRAO actionRAO)
Creates a new
OrderEntryConusmedRAO that consumes the given orderEntryRAO and adds the consumed entry to
the given actionRAO |
protected OrderEntryConsumedRAO |
AbstractRuleExecutableSupport.consumeOrderEntry(OrderEntryRAO orderEntryRAO,
int quantity,
BigDecimal discountValue,
AbstractRuleActionRAO actionRAO) |
protected OrderEntryConsumedRAO |
AbstractRuleExecutableSupport.createOrderEntryConsumedRAO(OrderEntryRAO orderEntryRAO,
int quantity,
BigDecimal discountValue)
Creates new OrderEntryConsumedRAO for given OrderEntryRAO and with given quantity.
|
protected boolean |
AbstractRuleExecutableSupport.mergeDiscounts(RuleActionContext context,
DiscountRAO discountRao,
OrderEntryRAO entry) |
| Modifier and Type | Method and Description |
|---|---|
protected Set<OrderEntryConsumedRAO> |
AbstractRuleExecutableSupport.consumeOrderEntries(Set<OrderEntryRAO> selectedEntries,
Map<Integer,Integer> selectedEntriesMap,
AbstractRuleActionRAO actionRAO)
Creates new
OrderEntryConusmedRAOs with the given quantity, links it to the given actionRAO and
reduces available quantity of order entry by given quantity for every Order Entry from the set and using quantity
from discountedOrderEntryMap. |
protected EntriesSelectionStrategyRPD |
AbstractRulePartnerProductAction.createSelectionStrategyRPD(OrderEntrySelectionStrategy selectionStrategy,
Integer quantity,
Set<OrderEntryRAO> orderEntries,
boolean isAction) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
RuleOrderEntryFixedPriceRAOAction.performAction(RuleActionContext context,
OrderEntryRAO orderEntryRao,
BigDecimal valueForCurrency) |
protected void |
RuleOrderEntryFixedDiscountRAOAction.performAction(RuleActionContext context,
OrderEntryRAO orderEntryRao,
BigDecimal valueForCurrency) |
protected void |
RuleOrderEntryPercentageDiscountRAOAction.processOrderEntry(RuleActionContext context,
OrderEntryRAO orderEntryRao,
BigDecimal value) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
ProductConfigCartRAOPopulator.populateEntry(AbstractOrderEntryModel entry,
OrderEntryRAO entryRAO) |
protected void |
ProductConfigCartRAOPopulator.populateProductConfig(AbstractOrderEntryModel entry,
OrderEntryRAO entryRAO) |
Copyright © 2017 SAP SE. All Rights Reserved.