public class DefaultCommercePromotionService extends java.lang.Object implements CommercePromotionService
CommercePromotionService| Constructor and Description |
|---|
DefaultCommercePromotionService() |
| Modifier and Type | Method and Description |
|---|---|
protected CommercePromotionDao |
getCommercePromotionDao() |
java.util.List<OrderPromotionModel> |
getOrderPromotions()
Get the list of
OrderPromotionModel instances. |
java.util.List<OrderPromotionModel> |
getOrderPromotions(java.util.Collection<PromotionGroupModel> promotionGroups)
Get list of
OrderPromotionModel instances instances that belong to one of given
PromotionGroupModel |
java.util.List<ProductPromotionModel> |
getProductPromotions()
Get the list of
ProductPromotionModel instances |
java.util.List<ProductPromotionModel> |
getProductPromotions(java.util.Collection<PromotionGroupModel> promotionGroups)
Get list of
ProductPromotionModel instances that belong to one of given PromotionGroupModel |
AbstractPromotionModel |
getPromotion(java.lang.String code)
Get
AbstractPromotionModel instance base on its code |
void |
setCommercePromotionDao(CommercePromotionDao commercePromotionDao) |
public AbstractPromotionModel getPromotion(java.lang.String code)
CommercePromotionServiceAbstractPromotionModel instance base on its codegetPromotion in interface CommercePromotionServicecode - - promotion identifierAbstractPromotionModel instancepublic java.util.List<ProductPromotionModel> getProductPromotions()
CommercePromotionServiceProductPromotionModel instancesgetProductPromotions in interface CommercePromotionServiceProductPromotionModelpublic java.util.List<OrderPromotionModel> getOrderPromotions()
CommercePromotionServiceOrderPromotionModel instances.getOrderPromotions in interface CommercePromotionServiceOrderPromotionModelpublic java.util.List<ProductPromotionModel> getProductPromotions(java.util.Collection<PromotionGroupModel> promotionGroups)
CommercePromotionServiceProductPromotionModel instances that belong to one of given PromotionGroupModelgetProductPromotions in interface CommercePromotionServicepromotionGroups - The promotion groups to evaluateProductPromotionModelpublic java.util.List<OrderPromotionModel> getOrderPromotions(java.util.Collection<PromotionGroupModel> promotionGroups)
CommercePromotionServiceOrderPromotionModel instances instances that belong to one of given
PromotionGroupModelgetOrderPromotions in interface CommercePromotionServicepromotionGroups - The promotion groups to evaluateOrderPromotionModelprotected CommercePromotionDao getCommercePromotionDao()
public void setCommercePromotionDao(CommercePromotionDao commercePromotionDao)
Copyright © 2018 SAP SE. All Rights Reserved.