Interface TravelBundleCommerceCartFacade
- All Superinterfaces:
de.hybris.platform.configurablebundlefacades.order.BundleCartFacade
- All Known Implementing Classes:
DefaultPROSTravelBundleCommerceCartFacade,DefaultTravelBundleCommerceCartFacade
public interface TravelBundleCommerceCartFacade
extends de.hybris.platform.configurablebundlefacades.order.BundleCartFacade
Facade to perform cart operations on bundles
-
Method Summary
Modifier and TypeMethodDescriptionstartBundle(String bundleTemplateId, String productCode, long quantity, OrderEntryType entryType) Starts new bundle in cart based on the given bundle template and add the product to it.Methods inherited from interface de.hybris.platform.configurablebundlefacades.order.BundleCartFacade
addToCart, getAllowedProducts, startBundle
-
Method Details
-
startBundle
CartModificationData startBundle(@Nonnull String bundleTemplateId, @Nonnull String productCode, long quantity, OrderEntryType entryType) throws de.hybris.platform.commerceservices.order.CommerceCartModificationException Starts new bundle in cart based on the given bundle template and add the product to it. Assigns anOrderEntryTypeto every entry created during the process.- Parameters:
bundleTemplateId- a component to add the product to. He whole bundle structure - starting from the root of the component - will be added to cart groupsproductCode- a product which will be added to the componentquantity- quantity for the product. Is limited by selection criteria of the componententryType- order entry type to be set against each created entry- Returns:
- information about the new cart entry
- Throws:
de.hybris.platform.commerceservices.order.CommerceCartModificationException- if the operation is not possible- See Also:
-
EntryGroupBundleSelectionCriteria
-