Interface CommercePromotionRestrictionFacade
- All Known Implementing Classes:
DefaultCommercePromotionRestrictionFacade
public interface CommercePromotionRestrictionFacade
PromotionRestriction facade interface.
-
Method Summary
Modifier and TypeMethodDescriptionvoiddisablePromotionForCurrentCart(String promotionCode) Disables OrderPromotion by removing current cart from PromotionOrderRestrictionvoidenablePromotionForCurrentCart(String promotionCode) Enables OrderPromotion by adding current cart to PromotionOrderRestriction
-
Method Details
-
enablePromotionForCurrentCart
void enablePromotionForCurrentCart(String promotionCode) throws CommercePromotionRestrictionException Enables OrderPromotion by adding current cart to PromotionOrderRestriction- Parameters:
promotionCode- promotion- Throws:
CommercePromotionRestrictionException
-
disablePromotionForCurrentCart
void disablePromotionForCurrentCart(String promotionCode) throws CommercePromotionRestrictionException Disables OrderPromotion by removing current cart from PromotionOrderRestriction- Parameters:
promotionCode- promotion- Throws:
CommercePromotionRestrictionException
-