Interface CommercePromotionRestrictionFacade
-
- All Known Implementing Classes:
DefaultCommercePromotionRestrictionFacade
public interface CommercePromotionRestrictionFacadePromotionRestriction facade interface.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddisablePromotionForCurrentCart(java.lang.String promotionCode)Disables OrderPromotion by removing current cart from PromotionOrderRestrictionvoidenablePromotionForCurrentCart(java.lang.String promotionCode)Enables OrderPromotion by adding current cart to PromotionOrderRestriction
-
-
-
Method Detail
-
enablePromotionForCurrentCart
void enablePromotionForCurrentCart(java.lang.String promotionCode) throws CommercePromotionRestrictionExceptionEnables OrderPromotion by adding current cart to PromotionOrderRestriction- Parameters:
promotionCode- promotion- Throws:
CommercePromotionRestrictionException
-
disablePromotionForCurrentCart
void disablePromotionForCurrentCart(java.lang.String promotionCode) throws CommercePromotionRestrictionExceptionDisables OrderPromotion by removing current cart from PromotionOrderRestriction- Parameters:
promotionCode- promotion- Throws:
CommercePromotionRestrictionException
-
-