public interface CommercePromotionService
| Modifier and Type | Method and Description |
|---|---|
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 |
java.util.List<ProductPromotionModel> getProductPromotions()
ProductPromotionModel instancesProductPromotionModeljava.util.List<OrderPromotionModel> getOrderPromotions()
OrderPromotionModel instances.OrderPromotionModeljava.util.List<ProductPromotionModel> getProductPromotions(java.util.Collection<PromotionGroupModel> promotionGroups)
ProductPromotionModel instances that belong to one of given PromotionGroupModelpromotionGroups - The promotion groups to evaluateProductPromotionModeljava.lang.IllegalArgumentException - if parameter promotionGroups is nulljava.util.List<OrderPromotionModel> getOrderPromotions(java.util.Collection<PromotionGroupModel> promotionGroups)
OrderPromotionModel instances instances that belong to one of given
PromotionGroupModelpromotionGroups - The promotion groups to evaluateOrderPromotionModeljava.lang.IllegalArgumentException - if parameter promotionGroups is nullAbstractPromotionModel getPromotion(java.lang.String code)
AbstractPromotionModel instance base on its codecode - - promotion identifierAbstractPromotionModel instanceUnknownIdentifierException - if no Promotion with the specified code is foundAmbiguousIdentifierException - if more than one Promotion with the specified code is foundjava.lang.IllegalArgumentException - if parameter code is nullCopyright © 2018 SAP SE. All Rights Reserved.