Interface CPQBolCartFacade
- All Superinterfaces:
BolCartFacade
- All Known Implementing Classes:
CPQDefaultBolCartFacade
Facade to the BOL layer. Allows to work with the BOL cart and configurable product.
-
Method Summary
Modifier and TypeMethodDescriptionaddConfigurationToCart(de.hybris.platform.sap.productconfig.runtime.interf.model.ConfigModel configModel) Adds a configuration to the cart, adding a new item with the config model attached.updateConfigurationInCart(String key, de.hybris.platform.sap.productconfig.runtime.interf.model.ConfigModel configModel) Updates the configuration attached to an itemMethods inherited from interface de.hybris.platform.sap.sapordermgmtservices.bolfacade.BolCartFacade
addEntriesToCart, addItemsToCart, addToCart, createAddress, createCart, getAllowedDeliveryTypes, getCart, getCartItem, hasCart, isBackendDown, placeOrderFromCart, releaseCart, updateCart, validateCart
-
Method Details
-
addConfigurationToCart
String addConfigurationToCart(de.hybris.platform.sap.productconfig.runtime.interf.model.ConfigModel configModel) Adds a configuration to the cart, adding a new item with the config model attached.- Parameters:
configModel- configuration model- Returns:
- Key of new item
-
updateConfigurationInCart
String updateConfigurationInCart(String key, de.hybris.platform.sap.productconfig.runtime.interf.model.ConfigModel configModel) Updates the configuration attached to an item- Parameters:
key- Item keyconfigModel- Configuration- Returns:
- Key of updated item
-