| Modifier and Type | Method and Description |
|---|---|
protected OrderEntryRAO |
DefaultRAOActionTest.createOrderEntryRAO(java.lang.String basePrice,
java.lang.String currencyIso,
int quantity,
int entryNumber,
CartRAO cart,
ProductRAO product) |
| Modifier and Type | Method and Description |
|---|---|
protected OrderEntryRAO |
AbstractRuleEngineServicesTest.createOrderEntryRAO(CartRAO cartRao,
java.lang.String basePrice,
java.lang.String currencyIso,
int quantity,
int entryNumber) |
protected OrderEntryRAO |
AbstractRuleEngineServicesTest.createOrderEntryRAO(java.lang.String basePrice,
java.lang.String currencyIso,
int quantity,
int entryNumber) |
| Modifier and Type | Method and Description |
|---|---|
protected java.util.Set<OrderEntryRAO> |
AbstractRuleEngineServicesTest.set(OrderEntryRAO... entries) |
| Modifier and Type | Method and Description |
|---|---|
protected java.util.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,
java.lang.String basePrice,
java.lang.String currencyIso,
int quantity) |
protected OrderEntryRAO |
AbstractRuleEngineTest.createOrderEntryRAO(AbstractOrderRAO order,
java.lang.String basePrice,
java.lang.String currencyIso,
int quantity,
int entryNumber) |
protected OrderEntryRAO |
AbstractRuleEngineTest.createOrderEntryRAO(java.lang.String basePrice,
java.lang.String currencyIso,
int quantity,
int entryNumber) |
| Modifier and Type | Method and Description |
|---|---|
protected java.util.Set<OrderEntryRAO> |
AbstractRuleEngineTest.set(OrderEntryRAO... entries) |
| Modifier and Type | Method and Description |
|---|---|
DiscountRAO |
RuleEngineCalculationService.addFixedPriceEntryDiscount(OrderEntryRAO orderEntryRao,
java.math.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.addFixedPriceEntryDiscountStackable(OrderEntryRAO orderEntryRao,
java.math.BigDecimal fixedPrice)
Deprecated.
since 6.7
|
DiscountRAO |
RuleEngineCalculationService.addOrderEntryLevelDiscount(OrderEntryRAO orderEntryRao,
boolean absolute,
java.math.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.
|
DiscountRAO |
RuleEngineCalculationService.addOrderEntryLevelDiscountStackable(OrderEntryRAO orderEntryRao,
boolean absolute,
java.math.BigDecimal amount)
Deprecated.
since 6.7
|
protected EntriesSelectionStrategyRPD |
AbstractRuleEngineTest.createEntriesSelectionStrategyRPD(OrderEntrySelectionStrategy strategy,
int quantity,
boolean isTargetOfAction,
OrderEntryRAO... orderEntryRAO) |
java.math.BigDecimal |
RuleEngineCalculationService.getAdjustedUnitPrice(int quantity,
OrderEntryRAO orderEntryRao)
Gets the total discount for line item and recalculates the discounted unit price.
|
int |
RuleEngineCalculationService.getConsumedQuantityForOrderEntry(OrderEntryRAO orderEntryRao)
Return consumed quantity for a given order entry
|
int |
RuleEngineCalculationService.getProductAvailableQuantityInOrderEntry(OrderEntryRAO orderEntryRAO)
give the order entry and the product, return the number of available product items to consume
|
protected java.util.Set<OrderEntryRAO> |
AbstractRuleEngineTest.set(OrderEntryRAO... entries) |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<DiscountRAO> |
RuleEngineCalculationService.addFixedPriceEntriesDiscount(CartRAO cartRao,
java.util.Map<java.lang.Integer,java.lang.Integer> selectedOrderEntryMap,
java.util.Set<OrderEntryRAO> selectedOrderEntryRaos,
java.math.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. |
java.util.List<DiscountRAO> |
RuleEngineCalculationService.addOrderEntryLevelDiscount(java.util.Map<java.lang.Integer,java.lang.Integer> selectedOrderEntryMap,
java.util.Set<OrderEntryRAO> selectedOrderEntryRaos,
boolean absolute,
java.math.BigDecimal amount)
Creates order entry level discounts for the cart
cartRao, adds it to the cartRao and updates the cartRao
totals. |
java.math.BigDecimal |
RuleEngineCalculationService.getCurrentPrice(java.util.Set<OrderEntryRAO> orderEntryForDiscounts,
java.util.Map<java.lang.Integer,java.lang.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 java.util.List<OrderEntryRAO> |
DefaultEntriesSelectionStrategy.getOrderEntriesToProcess(EntriesSelectionStrategyRPD strategy)
Gets not ordered list of Order Entries from the strategy.
|
protected java.util.List<OrderEntryRAO> |
CheapestEntriesSelectionStrategy.getOrderEntriesToProcess(EntriesSelectionStrategyRPD strategy)
Gets ordered list of Order Entries from strategy according to product prices comparing OrderEntryRAO.price -
the cheapest first.
|
| Modifier and Type | Method and Description |
|---|---|
DiscountRAO |
DefaultRuleEngineCalculationService.addFixedPriceEntryDiscount(OrderEntryRAO orderEntryRao,
java.math.BigDecimal fixedPrice) |
DiscountRAO |
DefaultRuleEngineCalculationService.addFixedPriceEntryDiscountStackable(OrderEntryRAO orderEntryRao,
java.math.BigDecimal fixedPrice)
Deprecated.
since 6.7
|
DiscountRAO |
DefaultRuleEngineCalculationService.addOrderEntryLevelDiscount(OrderEntryRAO orderEntryRao,
boolean absolute,
java.math.BigDecimal amount)
creates a DiscountRAO for the given OrderEntryRAO based on the input.
|
protected DiscountRAO |
DefaultRuleEngineCalculationService.addOrderEntryLevelDiscount(OrderEntryRAO orderEntryRao,
boolean absolute,
java.math.BigDecimal amount,
int consumedQty) |
DiscountRAO |
DefaultRuleEngineCalculationService.addOrderEntryLevelDiscountStackable(OrderEntryRAO orderEntryRao,
boolean absolute,
java.math.BigDecimal amount)
Deprecated.
since 6.7
|
protected NumberedLineItem |
DefaultRuleEngineCalculationService.findLineItem(Order cart,
OrderEntryRAO entryRao)
returns the corresponding NumberedLineItem for the given
entryRao. |
java.math.BigDecimal |
DefaultRuleEngineCalculationService.getAdjustedUnitPrice(int quantity,
OrderEntryRAO orderEntryRao) |
int |
DefaultRuleEngineCalculationService.getConsumedQuantityForOrderEntry(OrderEntryRAO orderEntryRao) |
protected int |
DefaultRuleEngineCalculationService.getConsumedQuantityForOrderEntry(OrderEntryRAO orderEntryRao,
java.util.Set<AbstractRuleActionRAO> actions) |
int |
DefaultRuleEngineCalculationService.getProductAvailableQuantityInOrderEntry(OrderEntryRAO orderEntryRAO) |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<DiscountRAO> |
DefaultRuleEngineCalculationService.addFixedPriceEntriesDiscount(CartRAO cartRao,
java.util.Map<java.lang.Integer,java.lang.Integer> selectedOrderEntryMap,
java.util.Set<OrderEntryRAO> selectedOrderEntryRaos,
java.math.BigDecimal fixedPrice) |
java.util.List<DiscountRAO> |
DefaultRuleEngineCalculationService.addOrderEntryLevelDiscount(java.util.Map<java.lang.Integer,java.lang.Integer> selectedOrderEntryMap,
java.util.Set<OrderEntryRAO> selectedOrderEntryRaos,
boolean absolute,
java.math.BigDecimal amount) |
java.math.BigDecimal |
DefaultRuleEngineCalculationService.getCurrentPrice(java.util.Set<OrderEntryRAO> orderEntryForDiscounts,
java.util.Map<java.lang.Integer,java.lang.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 |
|---|---|
protected void |
OrderEntryRaoPopulator.applyDiscount(OrderEntryRAO target,
DiscountValue discountValue) |
void |
OrderEntryRaoEntryGroupNumbersPopulator.populate(AbstractOrderEntryModel source,
OrderEntryRAO target) |
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() |
OrderEntryRAO |
ProductConsumedRAO.getOrderEntry() |
| Modifier and Type | Method and Description |
|---|---|
java.util.Set<OrderEntryRAO> |
AbstractOrderRAO.getEntries() |
java.util.List<OrderEntryRAO> |
EntriesSelectionStrategyRPD.getOrderEntries() |
| Modifier and Type | Method and Description |
|---|---|
void |
FreeProductRAO.setAddedOrderEntry(OrderEntryRAO addedOrderEntry) |
void |
OrderEntryConsumedRAO.setOrderEntry(OrderEntryRAO orderEntry) |
void |
ProductConsumedRAO.setOrderEntry(OrderEntryRAO orderEntry) |
| Modifier and Type | Method and Description |
|---|---|
void |
AbstractOrderRAO.setEntries(java.util.Set<OrderEntryRAO> entries) |
void |
EntriesSelectionStrategyRPD.setOrderEntries(java.util.List<OrderEntryRAO> orderEntries) |
| Modifier and Type | Method and Description |
|---|---|
protected ProductConsumedRAO |
DefaultCartRAOProvider.createProductConsumedRAO(OrderEntryRAO orderEntryRAO) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
DefaultCartRAOProvider.addConsumed(java.util.Set<java.lang.Object> facts,
CartRAO cart,
java.util.Set<OrderEntryRAO> entries)
Deprecated.
since 18.11
|
protected void |
DefaultCartRAOProvider.addConsumed(java.util.Set<java.lang.Object> facts,
java.util.Set<OrderEntryRAO> entries) |
protected void |
DefaultCartRAOProvider.addEntries(java.util.Set<java.lang.Object> facts,
java.util.Set<OrderEntryRAO> entries) |
protected void |
DefaultCartRAOProvider.addProductCategories(java.util.Set<java.lang.Object> facts,
java.util.Set<OrderEntryRAO> entries) |
protected void |
DefaultCartRAOProvider.addProducts(java.util.Set<java.lang.Object> facts,
java.util.Set<OrderEntryRAO> entries) |
| Modifier and Type | Method and Description |
|---|---|
OrderEntryRAO |
DefaultRaoService.addProduct(ProductRAO promotedProduct,
int quantity,
double basePrice,
CartRAO cart) |
OrderEntryRAO |
DefaultRaoService.addProduct(java.lang.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,
java.math.BigDecimal fixedPrice,
RuleEngineResultRAO result,
java.lang.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,
java.lang.String productCode,
int quantity,
OrderEntryRAO triggeringEntry,
int triggeringEntryQuantity,
RuleEngineResultRAO result,
java.lang.Object ruleContext)
Adds free product items to the cart.
|
DiscountRAO |
AddOrderEntryDiscountRAOAction.addOrderEntryLevelDiscount(OrderEntryRAO orderEntryRao,
boolean absolute,
java.math.BigDecimal amount,
RuleEngineResultRAO result,
java.lang.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 |
|---|---|
java.util.List<DiscountRAO> |
AddFixedPriceEntryDiscountRAOAction.addFixedPriceEntryDiscounts(java.util.Collection<OrderEntryRAO> orderEntryRao,
java.math.BigDecimal fixedPrice,
RuleEngineResultRAO result,
java.lang.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. |
java.util.List<DiscountRAO> |
AddOrderEntryDiscountRAOAction.addOrderEntryLevelDiscounts(java.util.Collection<OrderEntryRAO> orderEntryList,
boolean absolute,
java.math.BigDecimal amount,
RuleEngineResultRAO result,
java.lang.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 java.util.Set<OrderEntryRAO> |
AbstractRulePartnerProductAction.getOrderEntries(RuleActionContext context,
java.util.Map.Entry<java.lang.String,java.lang.Integer> entry) |
protected java.util.Set<OrderEntryRAO> |
AbstractRuleExecutableSupport.getSelectedOrderEntryRaos(java.util.Collection<EntriesSelectionStrategyRPD> selectionStrategyRPDs,
java.util.Map<java.lang.Integer,java.lang.Integer> selectedOrderEntryMap)
Gets Order Entry set to be discounted as a result of bundle processing.
|
protected java.util.Set<OrderEntryRAO> |
AbstractRuleExecutableSupport.getSelectedOrderEntryRaosStackable(java.util.Collection<EntriesSelectionStrategyRPD> selectionStrategyRPDs,
java.util.Map<java.lang.Integer,java.lang.Integer> selectedOrderEntryMap)
Deprecated.
since 6.7
|
| Modifier and Type | Method and Description |
|---|---|
protected java.math.BigDecimal |
AbstractRuleExecutableSupport.adjustUnitPrice(OrderEntryRAO orderEntryRao) |
protected java.math.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,
AbstractRuleActionRAO actionRAO)
Creates a new
OrderEntryConusmedRAO that consumes the given orderEntryRAO with the given quantity
and adds the consumed entry to the given actionRAO |
protected OrderEntryConsumedRAO |
AbstractRuleExecutableSupport.consumeOrderEntry(OrderEntryRAO orderEntryRAO,
int quantity,
java.math.BigDecimal discountValue,
AbstractRuleActionRAO actionRAO) |
protected OrderEntryConsumedRAO |
AbstractRuleExecutableSupport.createOrderEntryConsumedRAO(OrderEntryRAO orderEntryRAO,
int quantity,
java.math.BigDecimal discountValue)
Creates new OrderEntryConsumedRAO for given OrderEntryRAO and with given quantity.
|
protected int |
AbstractRuleExecutableSupport.getConsumableQuantity(OrderEntryRAO orderEntryRao)
Calculate the order entry consumable quantity
|
protected int |
AbstractRuleExecutableSupport.getConsumableQuantityStackable(OrderEntryRAO orderEntryRao)
Deprecated.
since 6.7
|
protected boolean |
AbstractRuleExecutableSupport.mergeDiscounts(RuleActionContext context,
DiscountRAO discountRao,
OrderEntryRAO entry) |
| Modifier and Type | Method and Description |
|---|---|
protected java.util.Set<OrderEntryConsumedRAO> |
AbstractRuleExecutableSupport.consumeOrderEntries(java.util.Set<OrderEntryRAO> selectedEntries,
java.util.Map<java.lang.Integer,java.lang.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,
java.lang.Integer quantity,
java.util.Set<OrderEntryRAO> orderEntries,
boolean isAction) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
RuleOrderEntryFixedPriceRAOAction.addDiscount(RuleActionContext context,
OrderEntryRAO orderEntryRao,
DiscountRAO discount) |
protected void |
RuleOrderEntryFixedPriceRAOAction.addDiscount(RuleActionContext context,
OrderEntryRAO orderEntryRao,
int quantity,
DiscountRAO discount) |
protected ProductConsumedRAO |
RuleFreeGiftRAOAction.createProductConsumedRAO(OrderEntryRAO orderEntryRAO) |
protected boolean |
RuleOrderEntryFixedPriceRAOAction.isDiscountApplicable(java.util.List<DiscountRAO> discounts,
OrderEntryRAO orderEntryRao,
java.math.BigDecimal cartThreshold,
java.math.BigDecimal total,
boolean discountedPriceIncluded) |
protected boolean |
RuleOrderEntryFixedDiscountRAOAction.performAction(RuleActionContext context,
OrderEntryRAO orderEntryRao,
java.math.BigDecimal valueForCurrency) |
protected boolean |
RuleOrderEntryPercentageDiscountRAOAction.processOrderEntry(RuleActionContext context,
OrderEntryRAO orderEntryRao,
java.math.BigDecimal value) |
protected boolean |
RuleOrderEntryFixedPriceRAOAction.processOrderEntry(RuleActionContext context,
OrderEntryRAO orderEntryRao,
java.math.BigDecimal valueForCurrency) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
ProductConfigCartRAOPopulator.populateEntry(AbstractOrderEntryModel entry,
OrderEntryRAO entryRAO) |
protected void |
ProductConfigCartRAOPopulator.populateProductConfig(AbstractOrderEntryModel entry,
OrderEntryRAO entryRAO) |
Copyright © 2018 SAP SE. All Rights Reserved.