public class WrappedPromotionsService extends AbstractReflectionWrapper
| Modifier and Type | Field and Description |
|---|---|
protected static Class |
PROMOTION_GROUP_MODEL_CLASS |
protected static Class |
PROMOTION_ORDER_RESULTS_CLASS |
| Constructor and Description |
|---|
WrappedPromotionsService(Object promotionsService) |
| Modifier and Type | Method and Description |
|---|---|
WrappedPromotionGroupModel |
getDefaultPromotionGroup() |
List<WrappedPromotionModel> |
getProductPromotions(Collection<WrappedPromotionGroupModel> groups,
ProductModel product,
boolean evaluateRestrictions,
Date currentTime) |
WrappedPromotionOrderResults |
getPromotionResults(AbstractOrderModel order) |
Object |
getPromotionsService() |
callReflectedMethod, callReflectedMethod, classForName, equals, executeMethod, executeMethod, getInstance, getReflectedJaloProperty, hashCode, modelWrapprotected static final Class PROMOTION_ORDER_RESULTS_CLASS
protected static final Class PROMOTION_GROUP_MODEL_CLASS
public WrappedPromotionsService(Object promotionsService)
promotionsService - public Object getPromotionsService()
public List<WrappedPromotionModel> getProductPromotions(Collection<WrappedPromotionGroupModel> groups, ProductModel product, boolean evaluateRestrictions, Date currentTime)
groups - product - evaluateRestrictions - currentTime - public WrappedPromotionOrderResults getPromotionResults(AbstractOrderModel order)
order - public WrappedPromotionGroupModel getDefaultPromotionGroup()
Copyright © 2017 SAP SE. All Rights Reserved.