Class DefaultCommercePromotionRestrictionFacade
- java.lang.Object
-
- de.hybris.platform.commercefacades.promotion.impl.DefaultCommercePromotionRestrictionFacade
-
- All Implemented Interfaces:
CommercePromotionRestrictionFacade
public class DefaultCommercePromotionRestrictionFacade extends java.lang.Object implements CommercePromotionRestrictionFacade
Default implementation ofCommercePromotionRestrictionFacade.
-
-
Constructor Summary
Constructors Constructor Description DefaultCommercePromotionRestrictionFacade()
-
Method Summary
All Methods Instance Methods Concrete 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 PromotionOrderRestrictionprotected CartServicegetCartService()protected CommerceCartServicegetCommerceCartService()protected CommercePromotionRestrictionServicegetCommercePromotionRestrictionService()protected CommercePromotionServicegetCommercePromotionService()voidsetCartService(CartService cartService)voidsetCommerceCartService(CommerceCartService commerceCartService)voidsetCommercePromotionRestrictionService(CommercePromotionRestrictionService commercePromotionRestrictionService)voidsetCommercePromotionService(CommercePromotionService commercePromotionService)
-
-
-
Method Detail
-
enablePromotionForCurrentCart
public void enablePromotionForCurrentCart(java.lang.String promotionCode) throws CommercePromotionRestrictionExceptionDescription copied from interface:CommercePromotionRestrictionFacadeEnables OrderPromotion by adding current cart to PromotionOrderRestriction- Specified by:
enablePromotionForCurrentCartin interfaceCommercePromotionRestrictionFacade- Parameters:
promotionCode- promotion- Throws:
CommercePromotionRestrictionException
-
disablePromotionForCurrentCart
public void disablePromotionForCurrentCart(java.lang.String promotionCode) throws CommercePromotionRestrictionExceptionDescription copied from interface:CommercePromotionRestrictionFacadeDisables OrderPromotion by removing current cart from PromotionOrderRestriction- Specified by:
disablePromotionForCurrentCartin interfaceCommercePromotionRestrictionFacade- Parameters:
promotionCode- promotion- Throws:
CommercePromotionRestrictionException
-
getCommercePromotionRestrictionService
protected CommercePromotionRestrictionService getCommercePromotionRestrictionService()
-
setCommercePromotionRestrictionService
public void setCommercePromotionRestrictionService(CommercePromotionRestrictionService commercePromotionRestrictionService)
-
getCommercePromotionService
protected CommercePromotionService getCommercePromotionService()
-
setCommercePromotionService
public void setCommercePromotionService(CommercePromotionService commercePromotionService)
-
getCartService
protected CartService getCartService()
-
setCartService
public void setCartService(CartService cartService)
-
getCommerceCartService
protected CommerceCartService getCommerceCartService()
-
setCommerceCartService
public void setCommerceCartService(CommerceCartService commerceCartService)
-
-