Class AddSolutionDealToCartStrategy

java.lang.Object
de.hybris.platform.shoppingfacades.strategies.impl.AddSolutionDealToCartStrategy
All Implemented Interfaces:
AddBundleToCartByTypeStrategy

public class AddSolutionDealToCartStrategy extends Object implements AddBundleToCartByTypeStrategy
Implementation of the AddBundleToCartByTypeStrategy interface for solutions
  • Constructor Details

    • AddSolutionDealToCartStrategy

      public AddSolutionDealToCartStrategy()
  • Method Details

    • addBundleToCart

      public List<CartModificationData> addBundleToCart(BundleTemplateModel bundleTemplate, AddDealToCartData addDealToCartData) throws de.hybris.platform.commerceservices.order.CommerceCartModificationException
      Description copied from interface: AddBundleToCartByTypeStrategy
      Adds the products relative to the specified bundle to the cart. Each implementation covers a specific bundle type.
      Specified by:
      addBundleToCart in interface AddBundleToCartByTypeStrategy
      Throws:
      de.hybris.platform.commerceservices.order.CommerceCartModificationException
    • getShoppingTravelCartFacade

      protected ShoppingTravelCartFacade getShoppingTravelCartFacade()
      Gets shopping travel cart facade.
      Returns:
      the shopping travel cart facade
    • setShoppingTravelCartFacade

      public void setShoppingTravelCartFacade(ShoppingTravelCartFacade shoppingTravelCartFacade)
      Sets shopping travel cart facade.
      Parameters:
      shoppingTravelCartFacade - the shopping travel cart facade