Class DefaultConfigurationAddToCartHook
java.lang.Object
de.hybris.platform.cpq.productconfig.services.hooks.DefaultConfigurationAddToCartHook
- All Implemented Interfaces:
de.hybris.platform.commerceservices.order.hook.CommerceAddToCartMethodHook
public class DefaultConfigurationAddToCartHook
extends Object
implements de.hybris.platform.commerceservices.order.hook.CommerceAddToCartMethodHook
Default CPQ implementation of the
CommerceAddToCartMethodHook-
Constructor Summary
ConstructorsConstructorDescriptionDefaultConfigurationAddToCartHook(ConfigurationService configurationService, ConfigurableChecker configurableChecker, de.hybris.platform.servicelayer.model.ModelService modelService) Default constructor accepting dependencies -
Method Summary
Modifier and TypeMethodDescriptionvoidafterAddToCart(CommerceCartParameter parameters, CommerceCartModification result) voidbeforeAddToCart(CommerceCartParameter parameters)
-
Constructor Details
-
DefaultConfigurationAddToCartHook
public DefaultConfigurationAddToCartHook(ConfigurationService configurationService, ConfigurableChecker configurableChecker, de.hybris.platform.servicelayer.model.ModelService modelService) Default constructor accepting dependencies- Parameters:
configurationService-configurableChecker-modelService-
-
-
Method Details
-
beforeAddToCart
public void beforeAddToCart(CommerceCartParameter parameters) throws de.hybris.platform.commerceservices.order.CommerceCartModificationException - Specified by:
beforeAddToCartin interfacede.hybris.platform.commerceservices.order.hook.CommerceAddToCartMethodHook- Throws:
de.hybris.platform.commerceservices.order.CommerceCartModificationException
-
afterAddToCart
public void afterAddToCart(CommerceCartParameter parameters, CommerceCartModification result) throws de.hybris.platform.commerceservices.order.CommerceCartModificationException - Specified by:
afterAddToCartin interfacede.hybris.platform.commerceservices.order.hook.CommerceAddToCartMethodHook- Throws:
de.hybris.platform.commerceservices.order.CommerceCartModificationException
-