| Modifier and Type | Method and Description |
|---|---|
PromotionGroupModel |
BaseSiteModel.getDefaultPromotionGroup()
Generated method - Getter of the
BaseSite.defaultPromotionGroup attribute defined at extension commerceservices. |
| Modifier and Type | Method and Description |
|---|---|
void |
BaseSiteModel.setDefaultPromotionGroup(PromotionGroupModel value)
Generated method - Setter of
BaseSite.defaultPromotionGroup attribute defined at extension commerceservices. |
| Modifier and Type | Method and Description |
|---|---|
protected Collection<PromotionGroupModel> |
DefaultCouponService.getPromotionGroups() |
| Modifier and Type | Method and Description |
|---|---|
void |
WebsiteGroupRaoPopulator.populate(PromotionGroupModel source,
WebsiteGroupRAO target) |
| Modifier and Type | Method and Description |
|---|---|
PromotionGroupModel |
PromotionDao.findDefaultPromotionGroup()
Finds default PromotionGroup object
|
PromotionGroupModel |
PromotionDao.findPromotionGroupByCode(String code)
Finds PromotionGroup objects from the code identifier
|
| Modifier and Type | Method and Description |
|---|---|
List<RuleBasedPromotionModel> |
PromotionSourceRuleDao.findPromotions(Collection<PromotionGroupModel> promotionGroups,
String productCode,
Set<String> categoryCodes)
Finds RuleBasedPromotionModels for given product code and category codes (but will exclude all rules for which the
corresponding
PromotionSourceRuleModel.getExcludeFromStorefrontDisplay() is set to true OR current
date is out of AbstractRuleModel.getStartDate(), AbstractRuleModel.getEndDate() date
range OR the rule status AbstractRuleModel.getStatus() is not PUBLISHED or MODIFIED). |
| Modifier and Type | Method and Description |
|---|---|
PromotionGroupModel |
DefaultPromotionDao.findDefaultPromotionGroup() |
PromotionGroupModel |
DefaultPromotionDao.findPromotionGroupByCode(String identifier) |
| Modifier and Type | Method and Description |
|---|---|
List<RuleBasedPromotionModel> |
DefaultPromotionSourceRuleDao.findPromotions(Collection<PromotionGroupModel> promotionGroups,
String productCode,
Set<String> categoryCodes) |
| Modifier and Type | Method and Description |
|---|---|
PromotionGroupModel |
PromotionSourceRuleModel.getWebsite()
Generated method - Getter of the
PromotionSourceRule.website attribute defined at extension promotionengineservices. |
| Modifier and Type | Method and Description |
|---|---|
void |
PromotionSourceRuleModel.setWebsite(PromotionGroupModel value)
Generated method - Setter of
PromotionSourceRule.website attribute defined at extension promotionengineservices. |
| Modifier and Type | Method and Description |
|---|---|
RuleEvaluationResult |
PromotionEngineService.evaluate(AbstractOrderModel order,
Collection<PromotionGroupModel> promotionGroups)
evaluate the promotions for the given cart.
|
RuleEvaluationResult |
PromotionEngineService.evaluate(CartModel cart,
Collection<PromotionGroupModel> promotionGroups)
Deprecated.
since 6.3, use
PromotionEngineService.evaluate(AbstractOrderModel, Collection) evaluate the
promotions for
the given cart. This does not apply the result to the cart. |
RuleEvaluationResult |
PromotionEngineService.evaluate(ProductModel product,
Collection<PromotionGroupModel> promotionGroups) |
| Modifier and Type | Method and Description |
|---|---|
PromotionGroupModel |
DefaultPromotionEngineService.getDefaultPromotionGroup() |
PromotionGroupModel |
DefaultPromotionEngineService.getPromotionGroup(String identifier) |
| Modifier and Type | Method and Description |
|---|---|
protected List<PromotionGroupModel> |
DefaultPromotionEngineServiceTest.getPromoGroup(String code) |
| Modifier and Type | Method and Description |
|---|---|
protected Converter<PromotionGroupModel,WebsiteGroupRAO> |
DefaultWebsiteGroupRAOProvider.getWebsiteGroupRaoConverter() |
| Modifier and Type | Method and Description |
|---|---|
protected WebsiteGroupRAO |
DefaultWebsiteGroupRAOProvider.createRAO(PromotionGroupModel source) |
| Modifier and Type | Method and Description |
|---|---|
void |
DefaultWebsiteGroupRAOProvider.setWebsiteGroupRaoConverter(Converter<PromotionGroupModel,WebsiteGroupRAO> websiteGroupRaoConverter) |
| Modifier and Type | Method and Description |
|---|---|
PromotionGroupModel |
PromotionsService.getDefaultPromotionGroup()
Lookup the default promotion group created by the promotions extension.
|
PromotionGroupModel |
PromotionGroupStrategy.getDefaultPromotionGroup()
Method returns default promotions group
|
PromotionGroupModel |
PromotionGroupStrategy.getDefaultPromotionGroup(AbstractOrderModel order)
Method returns default promotions group for given order, because it can depend on store where order was created.
|
PromotionGroupModel |
PromotionsService.getPromotionGroup(String identifier)
Lookup a promotion group with the given identifier.
|
| Modifier and Type | Method and Description |
|---|---|
List<? extends AbstractPromotionModel> |
PromotionsService.getAbstractProductPromotions(Collection<PromotionGroupModel> promotionGroups,
ProductModel product)
Get the ordered list of
AbstractPromotionModel instances that are related to the ProductModel
specified. |
List<? extends AbstractPromotionModel> |
PromotionsService.getAbstractProductPromotions(Collection<PromotionGroupModel> promotionGroups,
ProductModel product,
boolean evaluateRestrictions,
Date date)
Get the ordered list of
AbstractPromotionModel instances that are related to the ProductModel
specified. |
List<OrderPromotionModel> |
PromotionsService.getOrderPromotions(Collection<PromotionGroupModel> promotionGroups)
Get the ordered list of
OrderPromotion instances. |
List<OrderPromotionModel> |
PromotionsService.getOrderPromotions(Collection<PromotionGroupModel> promotionGroups,
boolean evaluateRestrictions)
Get the ordered list of
OrderPromotion instances. |
List<OrderPromotionModel> |
PromotionsService.getOrderPromotions(Collection<PromotionGroupModel> promotionGroups,
boolean evaluateRestrictions,
Date date)
Get the ordered list of
OrderPromotion instances. |
List<OrderPromotionModel> |
PromotionsService.getOrderPromotions(Collection<PromotionGroupModel> promotionGroups,
boolean evaluateRestrictions,
ProductModel product)
Get the ordered list of
OrderPromotion instances. |
List<OrderPromotionModel> |
PromotionsService.getOrderPromotions(Collection<PromotionGroupModel> promotionGroups,
boolean evaluateRestrictions,
ProductModel product,
Date date)
Get the ordered list of
OrderPromotion instances. |
List<OrderPromotionModel> |
PromotionsService.getOrderPromotions(Collection<PromotionGroupModel> promotionGroups,
Date date)
Get the ordered list of
OrderPromotion instances. |
List<OrderPromotionModel> |
PromotionsService.getOrderPromotions(Collection<PromotionGroupModel> promotionGroups,
ProductModel product)
Get the ordered list of
OrderPromotion instances. |
List<OrderPromotionModel> |
PromotionsService.getOrderPromotions(Collection<PromotionGroupModel> promotionGroups,
ProductModel product,
Date date)
Get the ordered list of
OrderPromotion instances. |
List<ProductPromotionModel> |
PromotionsService.getProductPromotions(Collection<PromotionGroupModel> promotionGroups,
ProductModel product)
Get the ordered list of
ProductPromotion instances that are related to the ProductModel specified. |
List<ProductPromotionModel> |
PromotionsService.getProductPromotions(Collection<PromotionGroupModel> promotionGroups,
ProductModel product,
boolean evaluateRestrictions,
Date date)
Get the ordered list of
ProductPromotion instances that are related to the ProductModel specified. |
PromotionOrderResults |
PromotionsService.getPromotionResults(Collection<PromotionGroupModel> promotionGroups,
AbstractOrderModel order,
boolean evaluateRestrictions,
PromotionsManager.AutoApplyMode productPromotionMode,
PromotionsManager.AutoApplyMode orderPromotionMode,
Date date)
Get the promotion results for the specified order.
|
PromotionOrderResults |
PromotionsService.updatePromotions(Collection<PromotionGroupModel> promotionGroups,
AbstractOrderModel order)
Update the promotions on the specified
AbstractOrder object. |
PromotionOrderResults |
PromotionsService.updatePromotions(Collection<PromotionGroupModel> promotionGroups,
AbstractOrderModel order,
boolean evaluateRestrictions,
PromotionsManager.AutoApplyMode productPromotionMode,
PromotionsManager.AutoApplyMode orderPromotionMode,
Date date)
Update the promotions on the specified
AbstractOrderModel object. |
| Modifier and Type | Method and Description |
|---|---|
protected Collection<PromotionGroupModel> |
CalculateWithPromotionsAction.createPromotionGroups(AbstractOrderModel order) |
| Modifier and Type | Method and Description |
|---|---|
PromotionGroupModel |
DefaultPromotionGroupStrategy.getDefaultPromotionGroup() |
PromotionGroupModel |
DefaultPromotionsService.getDefaultPromotionGroup() |
PromotionGroupModel |
DefaultPromotionGroupStrategy.getDefaultPromotionGroup(AbstractOrderModel order) |
PromotionGroupModel |
DefaultPromotionsService.getPromotionGroup(String identifier)
Lookup a promotion group with the given identifier.
|
| Modifier and Type | Method and Description |
|---|---|
protected PromotionGroup |
AbstractPromotionsService.getPromotionGroup(PromotionGroupModel group) |
| Modifier and Type | Method and Description |
|---|---|
PromotionGroupModel |
AbstractPromotionModel.getPromotionGroup()
Generated method - Getter of the
AbstractPromotion.PromotionGroup attribute defined at extension promotions. |
| Modifier and Type | Method and Description |
|---|---|
void |
AbstractPromotionModel.setPromotionGroup(PromotionGroupModel value)
Generated method - Setter of
AbstractPromotion.PromotionGroup attribute defined at extension promotions. |
| Modifier and Type | Method and Description |
|---|---|
PromotionGroupModel |
PromotionGroupResource.getPromotionGroupModel()
Convenience method which just delegates to
#getResourceValue() |
protected PromotionGroupModel |
PromotionGroupResource.readResource(String resourceId)
Gets the
PromotionGroupModel resource which is addressed by current resource request. |
| Modifier and Type | Method and Description |
|---|---|
Collection<PromotionGroupModel> |
PromotionGroupsResource.getPromotionGroupsCollection()
Convenience method which just delegates to
#getResourceValue() |
| Modifier and Type | Method and Description |
|---|---|
void |
PromotionGroupResource.setPromotionGroupModel(PromotionGroupModel value)
Convenience method which just delegates to
#setResourceValue(PromotionGroupModel) |
| Modifier and Type | Method and Description |
|---|---|
void |
PromotionGroupsResource.setPromotionGroupsCollection(Collection<PromotionGroupModel> value)
Convenience method which just delegates to
#setResourceValue(Collection) |
Copyright © 2017 SAP SE. All Rights Reserved.