| Modifier and Type | Method and Description |
|---|---|
protected PromotionResult |
AcceleratorProductMultiBuyPromotion.consumeItems(SessionContext ctx,
PromotionEvaluationContext promoContext,
java.lang.Double promotionPriceValue,
int triggerSize,
PromotionOrderView pov) |
java.util.List<PromotionResult> |
AcceleratorProductBOGOFPromotion.evaluate(SessionContext ctx,
PromotionEvaluationContext promoContext) |
java.util.List<PromotionResult> |
AcceleratorProductMultiBuyPromotion.evaluate(SessionContext ctx,
PromotionEvaluationContext promoContext) |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<PromotionResult> |
ProductPriceDiscountPromotionByPaymentType.evaluate(SessionContext ctx,
PromotionEvaluationContext promoContext)
Deprecated.
|
java.util.List<PromotionResult> |
ProductThresholdPriceDiscountPromotion.evaluate(SessionContext ctx,
PromotionEvaluationContext promoContext) |
java.util.List<PromotionResult> |
OrderThresholdDiscountPercentagePromotion.evaluate(SessionContext ctx,
PromotionEvaluationContext promoContext) |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<PromotionResult> |
RuleBasedPromotion.evaluate(SessionContext ctx,
PromotionEvaluationContext promoContext) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
OrderPromotion.checkRestrictions(SessionContext ctx,
PromotionEvaluationContext promoContext)
Check the restrictions on this promotion.
|
java.util.List<PromotionResult> |
ProductBOGOFPromotion.evaluate(SessionContext ctx,
PromotionEvaluationContext promoContext) |
java.util.List<PromotionResult> |
ProductOneToOnePerfectPartnerPromotion.evaluate(SessionContext ctx,
PromotionEvaluationContext promoContext) |
java.util.List<PromotionResult> |
OrderThresholdFreeGiftPromotion.evaluate(SessionContext ctx,
PromotionEvaluationContext promoContext) |
java.util.List<PromotionResult> |
ProductSteppedMultiBuyPromotion.evaluate(SessionContext ctx,
PromotionEvaluationContext promoContext) |
java.util.List<PromotionResult> |
ProductPerfectPartnerPromotion.evaluate(SessionContext ctx,
PromotionEvaluationContext promoContext) |
java.util.List<PromotionResult> |
ProductPercentageDiscountPromotion.evaluate(SessionContext ctx,
PromotionEvaluationContext promoContext) |
java.util.List<PromotionResult> |
NullPromotion.evaluate(SessionContext ctx,
PromotionEvaluationContext promoContext) |
java.util.List<PromotionResult> |
ProductFixedPricePromotion.evaluate(SessionContext ctx,
PromotionEvaluationContext promoContext) |
java.util.List<PromotionResult> |
OrderThresholdDiscountPromotion.evaluate(SessionContext ctx,
PromotionEvaluationContext promoContext) |
abstract java.util.List<PromotionResult> |
AbstractPromotion.evaluate(SessionContext ctx,
PromotionEvaluationContext promoContext)
Evaluate whether a promotion can fire or not.
|
java.util.List<PromotionResult> |
OrderThresholdChangeDeliveryModePromotion.evaluate(SessionContext ctx,
PromotionEvaluationContext promoContext) |
java.util.List<PromotionResult> |
ProductBundlePromotion.evaluate(SessionContext ctx,
PromotionEvaluationContext promoContext) |
java.util.List<PromotionResult> |
ProductPerfectPartnerBundlePromotion.evaluate(SessionContext ctx,
PromotionEvaluationContext promoContext) |
java.util.List<PromotionResult> |
ProductMultiBuyPromotion.evaluate(SessionContext ctx,
PromotionEvaluationContext promoContext) |
java.util.List<PromotionResult> |
OrderThresholdFreeVoucherPromotion.evaluate(SessionContext ctx,
PromotionEvaluationContext promoContext) |
java.util.List<PromotionResult> |
OrderThresholdPerfectPartnerPromotion.evaluate(SessionContext ctx,
PromotionEvaluationContext promoContext) |
protected java.util.List<PromotionResult> |
PromotionsManager.evaluatePromotion(SessionContext ctx,
PromotionEvaluationContext promoContext,
AbstractPromotion promotion) |
protected PromotionsManager.RestrictionSetResult |
ProductPromotion.findAllProducts(SessionContext ctx,
PromotionEvaluationContext promoContext)
Find all products that this promotion applies to by both direct association and via categories.
|
protected PromotionsManager.RestrictionSetResult |
ProductPromotion.findEligibleProductsInBasket(SessionContext ctx,
PromotionEvaluationContext promoContext)
Return the intersection of the set of products bound to this promotion and the current cart contents.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
Helper.adjustUnitPrices(SessionContext ctx,
PromotionEvaluationContext promoContext,
java.util.List<PromotionOrderEntryConsumed> consumedEntries,
double targetTotal,
double originalTotal)
Adjust the unit prices of the PromotionOrderEntryConsumed items specified to match the target total
Applies unit price adjustments to the PromotionOrderEntryConsumed items to take the total value of the items from
the originalTotal to the targetTotal specified.
|
Copyright © 2018 SAP SE. All Rights Reserved.