public interface CommercePromotionRestrictionService
| Modifier and Type | Method and Description |
|---|---|
void |
addOrderToRestriction(PromotionOrderRestrictionModel restriction,
AbstractOrderModel order)
Adds unique order to
PromotionOrderRestrictionModel |
PromotionOrderRestrictionModel |
getPromotionOrderRestriction(AbstractPromotionModel promotion)
Gets the
PromotionOrderRestrictionModel instance for AbstractPromotionModel if exists. |
java.util.List<AbstractPromotionRestrictionModel> |
getPromotionRestrictions(AbstractPromotionModel promotion)
Gets the list of
AbstractPromotionRestrictionModel for AbstractPromotionModel. |
void |
removeOrderFromRestriction(PromotionOrderRestrictionModel restriction,
AbstractOrderModel order)
Removes order from
PromotionOrderRestrictionModel |
java.util.List<AbstractPromotionRestrictionModel> getPromotionRestrictions(AbstractPromotionModel promotion)
AbstractPromotionRestrictionModel for AbstractPromotionModel.promotion - promotionAbstractPromotionRestrictionModelPromotionOrderRestrictionModel getPromotionOrderRestriction(AbstractPromotionModel promotion)
PromotionOrderRestrictionModel instance for AbstractPromotionModel if exists.promotion - promotionAbstractPromotionRestrictionModelvoid addOrderToRestriction(PromotionOrderRestrictionModel restriction, AbstractOrderModel order)
PromotionOrderRestrictionModelrestriction - restrictionorder - ordervoid removeOrderFromRestriction(PromotionOrderRestrictionModel restriction, AbstractOrderModel order)
PromotionOrderRestrictionModelrestriction - restrictionorder - orderCopyright © 2018 SAP SE. All Rights Reserved.