| Modifier and Type | Method and Description |
|---|---|
java.util.Map<Language,java.lang.String> |
GeneratedAcceleratorServicesManager.getAllName(AbstractPromotion item)
Generated method - Getter of the
AbstractPromotion.name attribute. |
java.util.Map<Language,java.lang.String> |
GeneratedAcceleratorServicesManager.getAllName(SessionContext ctx,
AbstractPromotion item)
Generated method - Getter of the
AbstractPromotion.name attribute. |
java.lang.String |
GeneratedAcceleratorServicesManager.getName(AbstractPromotion item)
Generated method - Getter of the
AbstractPromotion.name attribute. |
java.lang.String |
GeneratedAcceleratorServicesManager.getName(SessionContext ctx,
AbstractPromotion item)
Generated method - Getter of the
AbstractPromotion.name attribute. |
void |
GeneratedAcceleratorServicesManager.setAllName(AbstractPromotion item,
java.util.Map<Language,java.lang.String> value)
Generated method - Setter of the
AbstractPromotion.name attribute. |
void |
GeneratedAcceleratorServicesManager.setAllName(SessionContext ctx,
AbstractPromotion item,
java.util.Map<Language,java.lang.String> value)
Generated method - Setter of the
AbstractPromotion.name attribute. |
void |
GeneratedAcceleratorServicesManager.setName(AbstractPromotion item,
java.lang.String value)
Generated method - Setter of the
AbstractPromotion.name attribute. |
void |
GeneratedAcceleratorServicesManager.setName(SessionContext ctx,
AbstractPromotion item,
java.lang.String value)
Generated method - Setter of the
AbstractPromotion.name attribute. |
| Modifier and Type | Class and Description |
|---|---|
class |
AcceleratorProductBOGOFPromotion |
class |
AcceleratorProductMultiBuyPromotion |
class |
GeneratedAcceleratorProductBOGOFPromotion
Generated class for type
AcceleratorProductBOGOFPromotion. |
class |
GeneratedAcceleratorProductMultiBuyPromotion
Generated class for type
AcceleratorProductMultiBuyPromotion. |
| Modifier and Type | Class and Description |
|---|---|
class |
GeneratedOrderThresholdDiscountPercentagePromotion
Generated class for type
OrderThresholdDiscountPercentagePromotion. |
class |
GeneratedProductPriceDiscountPromotionByPaymentType
Generated class for type
ProductPriceDiscountPromotionByPaymentType. |
class |
GeneratedProductThresholdPriceDiscountPromotion
Generated class for type
ProductThresholdPriceDiscountPromotion. |
class |
OrderThresholdDiscountPercentagePromotion |
class |
ProductPriceDiscountPromotionByPaymentType
Deprecated.
Since 6.3, please use promotion engine instead.
|
class |
ProductThresholdPriceDiscountPromotion
ProductThresholdPriceDiscountPromotion
This promotion class can apply discounts at product level once a threshold for product cost is reached.
|
| Modifier and Type | Class and Description |
|---|---|
class |
GeneratedRuleBasedPromotion
Generated class for type
RuleBasedPromotion. |
class |
RuleBasedPromotion |
| Modifier and Type | Method and Description |
|---|---|
protected AbstractPromotion |
AbstractPromotionsService.getPromotion(AbstractPromotionModel promotion) |
| Modifier and Type | Field and Description |
|---|---|
protected static OneToManyHandler<AbstractPromotion> |
GeneratedPromotionGroup.PROMOTIONSHANDLER
OneToManyHandler for handling 1:n PROMOTIONS's relation attributes from 'many' side. |
| Modifier and Type | Method and Description |
|---|---|
<T extends AbstractPromotion> |
PromotionsManager.filterPromotionsByRestrictions(SessionContext ctx,
java.util.List<T> allPromotions,
Product product,
java.util.Date date)
Filter a list of promotions by their restrictions
|
| Modifier and Type | Method and Description |
|---|---|
protected AbstractPromotion |
AbstractPromotion.createImmutableDeepClone(SessionContext ctx,
java.lang.String immutableKeyHash,
java.lang.String immutableKey) |
protected static AbstractPromotion |
AbstractPromotion.findImmutablePromotionByUniqueKey(JaloSession jaloSession,
SessionContext ctx,
java.lang.String immutableKeyHash,
java.lang.String immutableKey) |
protected AbstractPromotion |
AbstractPromotion.findOrCreateImmutableClone(SessionContext ctx)
Find or create an immutable clone of this promotion.
|
AbstractPromotion |
GeneratedAbstractPromotionRestriction.getPromotion()
Generated method - Getter of the
AbstractPromotionRestriction.promotion attribute. |
AbstractPromotion |
GeneratedPromotionResult.getPromotion()
Generated method - Getter of the
PromotionResult.promotion attribute. |
AbstractPromotion |
CachedPromotionResult.getPromotion(SessionContext ctx) |
AbstractPromotion |
GeneratedAbstractPromotionRestriction.getPromotion(SessionContext ctx)
Generated method - Getter of the
AbstractPromotionRestriction.promotion attribute. |
AbstractPromotion |
GeneratedPromotionResult.getPromotion(SessionContext ctx)
Generated method - Getter of the
PromotionResult.promotion attribute. |
| Modifier and Type | Method and Description |
|---|---|
static java.util.List<AbstractPromotion> |
PromotionsManager.findOrderAndProductPromotionsSortByPriority(SessionContext ctx,
JaloSession jaloSession,
java.util.Collection<PromotionGroup> promotionGroups,
java.util.Collection<Product> products,
java.util.Date date)
Find all promotions that can be evaluated on the list of product specified.
|
java.util.Collection<AbstractPromotion> |
GeneratedPromotionGroup.getPromotions()
Generated method - Getter of the
PromotionGroup.Promotions attribute. |
java.util.Collection<AbstractPromotion> |
GeneratedPromotionGroup.getPromotions(SessionContext ctx)
Generated method - Getter of the
PromotionGroup.Promotions attribute. |
| Modifier and Type | Method and Description |
|---|---|
void |
GeneratedPromotionGroup.addToPromotions(AbstractPromotion value)
Generated method - Adds
value to Promotions. |
void |
GeneratedPromotionGroup.addToPromotions(SessionContext ctx,
AbstractPromotion value)
Generated method - Adds
value to Promotions. |
protected boolean |
PromotionsManager.autoApplyApplies(PromotionsManager.AutoApplyMode productPromotionMode,
PromotionsManager.AutoApplyMode orderPromotionMode,
AbstractPromotion promotion) |
PromotionResult |
PromotionsManager.createPromotionResult(SessionContext ctx,
AbstractPromotion promotion,
AbstractOrder order,
float certainty)
Create a new
PromotionResult instance. |
PromotionResult |
CachingPromotionsManager.createPromotionResult(SessionContext ctx,
AbstractPromotion promotion,
AbstractOrder order,
float certainty) |
protected java.util.List<PromotionResult> |
PromotionsManager.evaluatePromotion(SessionContext ctx,
PromotionEvaluationContext promoContext,
AbstractPromotion promotion) |
PromotionsManager.RestrictionSetResult |
PromotionsManager.evaluateRestrictions(SessionContext ctx,
java.util.List<Product> products,
AbstractOrder order,
AbstractPromotion promo,
java.util.Date date)
Evaluate all of the restrictions for a given promotion and return a result object containing the allowed items.
|
protected boolean |
PromotionsManager.keepApplied(PromotionsManager.AutoApplyMode productPromotionMode,
PromotionsManager.AutoApplyMode orderPromotionMode,
AbstractPromotion promotion,
boolean autoApply) |
void |
GeneratedPromotionGroup.removeFromPromotions(AbstractPromotion value)
Generated method - Removes
value from Promotions. |
void |
GeneratedPromotionGroup.removeFromPromotions(SessionContext ctx,
AbstractPromotion value)
Generated method - Removes
value from Promotions. |
void |
GeneratedAbstractPromotionRestriction.setPromotion(AbstractPromotion value)
Generated method - Setter of the
AbstractPromotionRestriction.promotion attribute. |
void |
GeneratedPromotionResult.setPromotion(AbstractPromotion value)
Generated method - Setter of the
PromotionResult.promotion attribute. |
void |
CachedPromotionResult.setPromotion(SessionContext ctx,
AbstractPromotion promotion) |
void |
GeneratedAbstractPromotionRestriction.setPromotion(SessionContext ctx,
AbstractPromotion value)
Generated method - Setter of the
AbstractPromotionRestriction.promotion attribute. |
void |
GeneratedPromotionResult.setPromotion(SessionContext ctx,
AbstractPromotion value)
Generated method - Setter of the
PromotionResult.promotion attribute. |
| Modifier and Type | Method and Description |
|---|---|
void |
GeneratedPromotionGroup.setPromotions(java.util.Collection<AbstractPromotion> value)
Generated method - Setter of the
PromotionGroup.Promotions attribute. |
void |
GeneratedPromotionGroup.setPromotions(SessionContext ctx,
java.util.Collection<AbstractPromotion> value)
Generated method - Setter of the
PromotionGroup.Promotions attribute. |
| Modifier and Type | Method and Description |
|---|---|
protected AbstractPromotion |
PromotionOrderView.getPromotion() |
| Modifier and Type | Method and Description |
|---|---|
void |
PromotionEvaluationContext.abandonLogging(AbstractPromotion promo)
Abandon the current logging operation and throw away all of the consumption objects.
|
void |
PromotionEvaluationContext.ConsumptionLogger.abandonOperation(AbstractPromotion promotion) |
java.util.List<PromotionOrderEntryConsumed> |
PromotionEvaluationContext.ConsumptionLogger.completeOperation(AbstractPromotion promotion,
boolean removeFromOrder) |
PromotionOrderEntryConsumed |
PromotionOrderEntry.consume(SessionContext ctx,
AbstractPromotion promotion,
long quantity)
Inform the context that a promotion wishes to consume the specified property of.
|
PromotionOrderView |
PromotionEvaluationContext.createView(SessionContext ctx,
AbstractPromotion promotion,
java.util.List<Product> validProducts)
Create a filtered view of the order containing only the products specified in validProducts.
|
protected static java.util.List<PromotionOrderEntryConsumed> |
PromotionOrderView.doConsume(SessionContext ctx,
java.util.List<PromotionOrderEntry> workingEntries,
AbstractPromotion promotion,
long quantity) |
java.util.List<PromotionOrderEntryConsumed> |
PromotionEvaluationContext.finishLoggingAndGetConsumed(AbstractPromotion promo,
boolean removeFromOrder)
Complete the logging operation and return a list of all order entry consumptions since logging began.
|
void |
PromotionEvaluationContext.ConsumptionLogger.startLogging(AbstractPromotion promotion) |
void |
PromotionEvaluationContext.startLoggingConsumed(AbstractPromotion promo)
Start recording all of the consumed items in any view.
|
| Constructor and Description |
|---|
PromotionOrderView(AbstractPromotion promotion,
java.util.List<PromotionOrderEntry> orderEntries) |
Copyright © 2018 SAP SE. All Rights Reserved.