public class DefaultCommercePromotionRestrictionService extends java.lang.Object implements CommercePromotionRestrictionService
CommercePromotionRestrictionService| Constructor and Description |
|---|
DefaultCommercePromotionRestrictionService() |
public DefaultCommercePromotionRestrictionService()
public java.util.List<AbstractPromotionRestrictionModel> getPromotionRestrictions(AbstractPromotionModel promotion)
CommercePromotionRestrictionServiceAbstractPromotionRestrictionModel for AbstractPromotionModel.getPromotionRestrictions in interface CommercePromotionRestrictionServicepromotion - promotionAbstractPromotionRestrictionModelpublic PromotionOrderRestrictionModel getPromotionOrderRestriction(AbstractPromotionModel promotion)
CommercePromotionRestrictionServicePromotionOrderRestrictionModel instance for AbstractPromotionModel if exists.getPromotionOrderRestriction in interface CommercePromotionRestrictionServicepromotion - promotionAbstractPromotionRestrictionModelpublic void addOrderToRestriction(PromotionOrderRestrictionModel restriction, AbstractOrderModel order)
CommercePromotionRestrictionServicePromotionOrderRestrictionModeladdOrderToRestriction in interface CommercePromotionRestrictionServicerestriction - restrictionorder - orderpublic void removeOrderFromRestriction(PromotionOrderRestrictionModel restriction, AbstractOrderModel order)
CommercePromotionRestrictionServicePromotionOrderRestrictionModelremoveOrderFromRestriction in interface CommercePromotionRestrictionServicerestriction - restrictionorder - orderprotected boolean isOrderInRestriction(PromotionOrderRestrictionModel restriction, AbstractOrderModel order)
protected CommercePromotionRestrictionDao getCommercePromotionRestrictionDao()
public void setCommercePromotionRestrictionDao(CommercePromotionRestrictionDao commercePromotionRestrictionDao)
protected ModelService getModelService()
public void setModelService(ModelService modelService)
Copyright © 2018 SAP SE. All Rights Reserved.