| Package | Description |
|---|---|
| de.hybris.platform.core.model.order |
Contains generated models for each type of de.hybris.platform.jalo.order package.
|
| de.hybris.platform.couponservices.action.impl | |
| de.hybris.platform.promotionengineservices.action.impl | |
| de.hybris.platform.promotionengineservices.promotionengine | |
| de.hybris.platform.promotionengineservices.promotionengine.impl | |
| de.hybris.platform.promotions | |
| de.hybris.platform.promotions.impl | |
| de.hybris.platform.promotions.model |
Contains generated models for each type of de.hybris.platform.promotions.jalo package.
|
| de.hybris.platform.promotions.resource |
| Modifier and Type | Method and Description |
|---|---|
Set<PromotionResultModel> |
AbstractOrderModel.getAllPromotionResults()
Generated method - Getter of the
AbstractOrder.allPromotionResults attribute defined at extension promotions. |
| Modifier and Type | Method and Description |
|---|---|
void |
AbstractOrderModel.setAllPromotionResults(Set<PromotionResultModel> value)
Generated method - Setter of
AbstractOrder.allPromotionResults attribute defined at extension promotions. |
| Modifier and Type | Method and Description |
|---|---|
List<PromotionResultModel> |
DefaultAddCouponActionStrategy.apply(AbstractRuleActionRAO action) |
| Modifier and Type | Method and Description |
|---|---|
List<PromotionResultModel> |
DefaultOrderEntryAdjustActionStrategy.apply(AbstractRuleActionRAO action)
If the parameter action is of type
DiscountRAO and is applied to Order Entry the discount is added to
corresponding Order Entry model. |
List<PromotionResultModel> |
DefaultOrderAdjustTotalActionStrategy.apply(AbstractRuleActionRAO action)
Creates a
PromotionResultModel if the parameter action is of type DiscountRAO the discount is
added to corresponding to the action Order model. |
List<PromotionResultModel> |
DefaultPotentialPromotionMessageActionStrategy.apply(AbstractRuleActionRAO action)
If the parameter action is of type
DisplayMessageRAO PromotionResultModel for potential promotion message
is created. |
List<PromotionResultModel> |
DefaultShippingActionStrategy.apply(AbstractRuleActionRAO action)
If the parameter action is of type
ShipmentRAO Delivery options set to corresponding fields of Order
model. |
List<PromotionResultModel> |
DefaultAddProductToCartActionStrategy.apply(AbstractRuleActionRAO action)
If the parameter action is of type
DiscountRAO and is applied to Order Entry the discount is added to
corresponding Order Entry model. |
| Modifier and Type | Method and Description |
|---|---|
protected RuleBasedOrderAddProductActionModel |
DefaultAddProductToCartActionStrategy.createOrderAddProductAction(AbstractRuleActionRAO action,
int quantity,
ProductModel product,
PromotionResultModel promoResult) |
protected RuleBasedOrderAdjustTotalActionModel |
DefaultOrderAdjustTotalActionStrategy.createOrderAdjustTotalAction(PromotionResultModel promoResult,
DiscountRAO discountRao) |
protected RuleBasedOrderEntryAdjustActionModel |
DefaultOrderEntryAdjustActionStrategy.createOrderEntryAdjustAction(PromotionResultModel promoResult,
AbstractRuleActionRAO action,
AbstractOrderEntryModel entry,
BigDecimal discountAmount) |
protected RULE_BASED_ACTION |
AbstractRuleActionStrategy.createPromotionAction(PromotionResultModel promotionResult,
AbstractRuleActionRAO action)
Creates an instance of the configured
promotionAction (which is a subtype of
RuleBasedPromotionActionModel, sets a new unique UUID, sets this strategy's id, marks the action as
applied, attaches the given promotionResult and tries to lookup the rule which created the given
AbstractRuleActionRAO. |
protected long |
DefaultOrderEntryAdjustActionStrategy.getConsumedQuantity(PromotionResultModel promoResult)
Sums up quantities of all consumed entries of given order entry.
|
| Modifier and Type | Method and Description |
|---|---|
PromotionResultModel |
PromotionActionService.createPromotionResult(AbstractRuleActionRAO action)
Creates a
PromotionResultModel object for the given AbstractRuleActionRAO. |
| Modifier and Type | Method and Description |
|---|---|
default RuleParameterData |
PromotionMessageParameterResolutionStrategy.getReplacedParameter(RuleParameterData paramToReplace,
PromotionResultModel promotionResult,
Object actualValueAsObject)
returns
RuleParameterData created from given RuleParameterData with replaced actual value. |
Object |
PromotionMessageParameterResolutionStrategy.getValue(RuleParameterData data,
PromotionResultModel promotionResult,
Locale locale)
resolves the given
RuleParameterData into a displayable Object. |
| Modifier and Type | Method and Description |
|---|---|
PromotionResultModel |
DefaultPromotionActionService.createPromotionResult(AbstractRuleActionRAO actionRao) |
protected PromotionResultModel |
DefaultPromotionActionService.findExistingPromotionResultModel(AbstractRuleEngineRuleModel rule,
AbstractOrderModel order)
Tries to find an existing promotion result that has been fired by the same rule as the given rule.
|
| Modifier and Type | Method and Description |
|---|---|
List<PromotionResultModel> |
DefaultPromotionEngineResultService.getFiredOrderPromotions(PromotionOrderResults promoResult,
AbstractPromotionModel promotion) |
List<PromotionResultModel> |
DefaultPromotionEngineResultService.getFiredProductPromotions(PromotionOrderResults promoResult,
AbstractPromotionModel promotion) |
List<PromotionResultModel> |
DefaultPromotionEngineResultService.getPotentialOrderPromotions(PromotionOrderResults promoResult,
AbstractPromotionModel promotion) |
List<PromotionResultModel> |
DefaultPromotionEngineResultService.getPotentialProductPromotions(PromotionOrderResults promoResult,
AbstractPromotionModel promotion) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
DefaultPromotionEngineResultService.apply(PromotionResultModel promotionResult) |
long |
DefaultPromotionEngineResultService.getConsumedCount(PromotionResultModel promotionResult,
boolean paramBoolean) |
boolean |
DefaultPromotionEngineResultService.getCouldFire(PromotionResultModel promotionResult) |
Optional<Set<String>> |
DefaultPromotionEngineResultService.getCouponCodesFromPromotion(PromotionResultModel promotionResult) |
String |
DefaultPromotionEngineResultService.getDescription(PromotionResultModel promotionResult) |
String |
DefaultPromotionEngineResultService.getDescription(PromotionResultModel promotionResult,
Locale locale) |
boolean |
DefaultPromotionEngineResultService.getFired(PromotionResultModel promotionResult) |
protected String |
DefaultPromotionEngineResultService.getMessageWithResolvedParameters(PromotionResultModel promotionResult,
Locale locale,
String messageFiredPositional,
List<RuleParameterData> parameters) |
RuleParameterData |
DefaultObjectResolutionStrategy.getReplacedParameter(RuleParameterData paramToReplace,
PromotionResultModel promotionResult,
Object actualValueAsObject) |
RuleParameterData |
DefaultCurrencyAmountResolutionStrategy.getReplacedParameter(RuleParameterData paramToReplace,
PromotionResultModel promotionResult,
Object actualValueAsObject) |
double |
DefaultPromotionEngineResultService.getTotalDiscount(PromotionResultModel promotionResult) |
String |
DefaultProductResolutionStrategy.getValue(RuleParameterData data,
PromotionResultModel promotionResult,
Locale locale) |
String |
DefaultObjectResolutionStrategy.getValue(RuleParameterData data,
PromotionResultModel promotionResult,
Locale locale) |
String |
DefaultCurrencyAmountResolutionStrategy.getValue(RuleParameterData data,
PromotionResultModel promotionResult,
Locale locale) |
String |
DefaultCategoryResolutionStrategy.getValue(RuleParameterData data,
PromotionResultModel promotionResult,
Locale locale) |
boolean |
DefaultPromotionEngineResultService.isApplied(PromotionResultModel promotionResult) |
boolean |
DefaultPromotionEngineResultService.isAppliedToOrder(PromotionResultModel promotionResult) |
protected RuleParameterData |
DefaultPromotionEngineResultService.replaceRuleParameterValue(PromotionResultModel promotionResult,
Map<String,Object> messageActionValues,
RuleParameterData parameter) |
protected Object |
DefaultPromotionEngineResultService.resolveParameterValue(RuleParameterData parameter,
PromotionResultModel promotionResult,
Locale locale) |
protected void |
DefaultPromotionActionService.setRuleModuleVersionIfApplicable(PromotionResultModel promoResult,
AbstractRuleEngineRuleModel ruleModel) |
boolean |
DefaultPromotionEngineResultService.undo(PromotionResultModel promotionResult) |
| Modifier and Type | Method and Description |
|---|---|
List<PromotionResultModel> |
PromotionResultService.getFiredOrderPromotions(PromotionOrderResults promoResult,
AbstractPromotionModel promotion)
Return a list of results for promotions that fired and did not consume products.
|
List<PromotionResultModel> |
PromotionResultService.getFiredProductPromotions(PromotionOrderResults promoResult,
AbstractPromotionModel promotion)
Return a list of results for promotions that fired and consumed products.
|
List<PromotionResultModel> |
PromotionResultService.getPotentialOrderPromotions(PromotionOrderResults promoResult,
AbstractPromotionModel promotion)
Return a list of results for potential promotions that fired and did not consume products and have been applied.
|
List<PromotionResultModel> |
PromotionResultService.getPotentialProductPromotions(PromotionOrderResults promoResult,
AbstractPromotionModel promotion)
Return a list of results for potential promotions that fired and consumed products and have been applied.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
PromotionResultService.apply(PromotionResultModel promotionResult)
Apply all of the actions that this promotion generated to the order.
|
long |
PromotionResultService.getConsumedCount(PromotionResultModel promotionResult,
boolean includeCouldFirePromotions)
Get the total number of items consumed by this promotion.
|
boolean |
PromotionResultService.getCouldFire(PromotionResultModel promotionResult)
Is this a potential result.
|
Optional<Set<String>> |
PromotionResultService.getCouponCodesFromPromotion(PromotionResultModel promotionResult)
Return give way coupon code for promotion.
|
String |
PromotionResultService.getDescription(PromotionResultModel promotionResult)
Get the description of this promotion result.
|
String |
PromotionResultService.getDescription(PromotionResultModel promotionResult,
Locale locale)
Get the description of this promotion result.
|
boolean |
PromotionResultService.getFired(PromotionResultModel promotionResult)
Returns true if the promotion fired and has produced a result.
|
double |
PromotionResultService.getTotalDiscount(PromotionResultModel promotionResult)
Get the total value of all discounts in this result.
|
boolean |
PromotionResultService.isApplied(PromotionResultModel promotionResult)
Returns true if the promotion fired and all of its actions have been applied to the order.
|
boolean |
PromotionResultService.isAppliedToOrder(PromotionResultModel promotionResult)
Returns true if the promotion fired and all of its actions have been applied to the order.
|
boolean |
PromotionResultService.undo(PromotionResultModel promotionResult)
Undo all of the changes that this promotion made to the order.
|
| Modifier and Type | Method and Description |
|---|---|
List<PromotionResultModel> |
DefaultPromotionResultService.getFiredOrderPromotions(PromotionOrderResults promoResult,
AbstractPromotionModel promotion) |
List<PromotionResultModel> |
DefaultPromotionResultService.getFiredProductPromotions(PromotionOrderResults promoResult,
AbstractPromotionModel promotion) |
List<PromotionResultModel> |
DefaultPromotionResultService.getPotentialOrderPromotions(PromotionOrderResults promoResult,
AbstractPromotionModel promotion) |
List<PromotionResultModel> |
DefaultPromotionResultService.getPotentialProductPromotions(PromotionOrderResults promoResult,
AbstractPromotionModel promotion) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
DefaultPromotionResultService.apply(PromotionResultModel promotionResult) |
long |
DefaultPromotionResultService.getConsumedCount(PromotionResultModel promotionResult,
boolean includeCouldFirePromotions) |
boolean |
DefaultPromotionResultService.getCouldFire(PromotionResultModel promotionResult) |
Optional<Set<String>> |
DefaultPromotionResultService.getCouponCodesFromPromotion(PromotionResultModel promotionResult) |
String |
DefaultPromotionResultService.getDescription(PromotionResultModel promotionResult) |
String |
DefaultPromotionResultService.getDescription(PromotionResultModel promotionResult,
Locale locale) |
boolean |
DefaultPromotionResultService.getFired(PromotionResultModel promotionResult) |
protected PromotionResult |
AbstractPromotionsService.getResult(PromotionResultModel result) |
double |
DefaultPromotionResultService.getTotalDiscount(PromotionResultModel promotionResult) |
boolean |
DefaultPromotionResultService.isApplied(PromotionResultModel promotionResult) |
boolean |
DefaultPromotionResultService.isAppliedToOrder(PromotionResultModel promotionResult) |
boolean |
DefaultPromotionResultService.undo(PromotionResultModel promotionResult) |
| Modifier and Type | Class and Description |
|---|---|
class |
CachedPromotionResultModel
Generated model class for type CachedPromotionResult first defined at extension promotions.
|
| Modifier and Type | Method and Description |
|---|---|
PromotionResultModel |
AbstractPromotionActionModel.getPromotionResult()
Generated method - Getter of the
AbstractPromotionAction.promotionResult attribute defined at extension promotions. |
PromotionResultModel |
PromotionOrderEntryConsumedModel.getPromotionResult()
Generated method - Getter of the
PromotionOrderEntryConsumed.promotionResult attribute defined at extension promotions. |
| Modifier and Type | Method and Description |
|---|---|
void |
AbstractPromotionActionModel.setPromotionResult(PromotionResultModel value)
Generated method - Setter of
AbstractPromotionAction.promotionResult attribute defined at extension promotions. |
void |
PromotionOrderEntryConsumedModel.setPromotionResult(PromotionResultModel value)
Generated method - Setter of
PromotionOrderEntryConsumed.promotionResult attribute defined at extension promotions. |
| Modifier and Type | Method and Description |
|---|---|
PromotionResultModel |
PromotionResultResource.getPromotionResultModel()
Convenience method which just delegates to
#getResourceValue() |
protected PromotionResultModel |
PromotionResultResource.readResource(String resourceId)
Gets the
PromotionResultModel resource which is addressed by current resource request. |
| Modifier and Type | Method and Description |
|---|---|
Collection<PromotionResultModel> |
PromotionResultsResource.getPromotionResultsCollection()
Convenience method which just delegates to
#getResourceValue() |
| Modifier and Type | Method and Description |
|---|---|
void |
PromotionResultResource.setPromotionResultModel(PromotionResultModel value)
Convenience method which just delegates to
#setResourceValue(PromotionResultModel) |
| Modifier and Type | Method and Description |
|---|---|
void |
PromotionResultsResource.setPromotionResultsCollection(Collection<PromotionResultModel> value)
Convenience method which just delegates to
#setResourceValue(Collection) |
Copyright © 2017 SAP SE. All Rights Reserved.