Class AddSolutionDealToCartStrategy
java.lang.Object
de.hybris.platform.shoppingfacades.strategies.impl.AddSolutionDealToCartStrategy
- All Implemented Interfaces:
AddBundleToCartByTypeStrategy
Implementation of the
AddBundleToCartByTypeStrategy interface for solutions-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddBundleToCart(BundleTemplateModel bundleTemplate, AddDealToCartData addDealToCartData) Adds the products relative to the specified bundle to the cart.protected ShoppingTravelCartFacadeGets shopping travel cart facade.voidsetShoppingTravelCartFacade(ShoppingTravelCartFacade shoppingTravelCartFacade) Sets shopping travel cart facade.
-
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:AddBundleToCartByTypeStrategyAdds the products relative to the specified bundle to the cart. Each implementation covers a specific bundle type.- Specified by:
addBundleToCartin interfaceAddBundleToCartByTypeStrategy- Throws:
de.hybris.platform.commerceservices.order.CommerceCartModificationException
-
getShoppingTravelCartFacade
Gets shopping travel cart facade.- Returns:
- the shopping travel cart facade
-
setShoppingTravelCartFacade
Sets shopping travel cart facade.- Parameters:
shoppingTravelCartFacade- the shopping travel cart facade
-