Interface AddBundleToCartByTypeStrategy
- All Known Implementing Classes:
AddAccommodationBundleToCartStrategy,AddDealBundleToCartStartegy,AddSolutionDealToCartStrategy,AddStandardBundleToCartStrategy,AddTransportBundleToCartStrategy
public interface AddBundleToCartByTypeStrategy
Interface for strategies responsible for adding products belonging to a specific BundleTemplate subtype to the cart
-
Method Summary
Modifier and TypeMethodDescriptionaddBundleToCart(BundleTemplateModel bundleTemplate, AddDealToCartData addDealToCartData) Adds the products relative to the specified bundle to the cart.
-
Method Details
-
addBundleToCart
List<CartModificationData> addBundleToCart(BundleTemplateModel bundleTemplate, AddDealToCartData addDealToCartData) throws de.hybris.platform.commerceservices.order.CommerceCartModificationException Adds the products relative to the specified bundle to the cart. Each implementation covers a specific bundle type.- Parameters:
bundleTemplate-addDealToCartData-- Throws:
de.hybris.platform.commerceservices.order.CommerceCartModificationException
-