Class ShoppingBundleSelectionCriteriaAddToCartMethodHook

java.lang.Object
de.hybris.platform.configurablebundleservices.order.hook.BundleSelectionCriteriaAddToCartMethodHook
de.hybris.platform.travelservices.order.hook.TravelBundleSelectionCriteriaAddToCartMethodHook
de.hybris.platform.shoppingservices.order.hooks.ShoppingBundleSelectionCriteriaAddToCartMethodHook
All Implemented Interfaces:
de.hybris.platform.commerceservices.order.hook.CommerceAddToCartMethodHook

public class ShoppingBundleSelectionCriteriaAddToCartMethodHook extends TravelBundleSelectionCriteriaAddToCartMethodHook
The Shopping bundle selection criteria add to cart method hook. Extending TravelBundleSelectionCriteriaAddToCartMethodHook to skip maximum allowed products in a bundle check for allowances
  • Constructor Details

    • ShoppingBundleSelectionCriteriaAddToCartMethodHook

      public ShoppingBundleSelectionCriteriaAddToCartMethodHook()
  • Method Details

    • beforeAddToCart

      public void beforeAddToCart(CommerceCartParameter parameter) throws de.hybris.platform.commerceservices.order.CommerceCartModificationException
      Specified by:
      beforeAddToCart in interface de.hybris.platform.commerceservices.order.hook.CommerceAddToCartMethodHook
      Overrides:
      beforeAddToCart in class TravelBundleSelectionCriteriaAddToCartMethodHook
      Throws:
      de.hybris.platform.commerceservices.order.CommerceCartModificationException
    • getProductToIgnoreList

      protected List<String> getProductToIgnoreList()
      Gets product to ignore list.
      Returns:
      the product to ignore list
    • setProductToIgnoreList

      public void setProductToIgnoreList(List<String> productToIgnoreList)
      Sets product to ignore list.
      Parameters:
      productToIgnoreList - the product to ignore list