Class TmaUpdateCartStrategy
- java.lang.Object
-
- de.hybris.platform.b2ctelcoservices.order.impl.TmaUpdateCartStrategy
-
- All Implemented Interfaces:
TmaCartStrategy
public class TmaUpdateCartStrategy extends java.lang.Object implements TmaCartStrategy
Cart strategy implementation for updating product offering in cart.- Since:
- 1911
-
-
Constructor Summary
Constructors Constructor Description TmaUpdateCartStrategy(de.hybris.platform.commerceservices.order.CommerceUpdateCartEntryStrategy commerceUpdateCartEntryStrategy, TmaCommerceCartResourceService commerceCartResourceService, java.util.List<TmaUpdateCartHook> commerceUpdateCartHooks, de.hybris.platform.servicelayer.config.ConfigurationService configurationService, de.hybris.platform.order.CartService cartService, de.hybris.platform.commerceservices.order.CommerceCartCalculationStrategy calculationStrategy)
-
Method Summary
-
-
-
Constructor Detail
-
TmaUpdateCartStrategy
public TmaUpdateCartStrategy(de.hybris.platform.commerceservices.order.CommerceUpdateCartEntryStrategy commerceUpdateCartEntryStrategy, TmaCommerceCartResourceService commerceCartResourceService, java.util.List<TmaUpdateCartHook> commerceUpdateCartHooks, de.hybris.platform.servicelayer.config.ConfigurationService configurationService, de.hybris.platform.order.CartService cartService, de.hybris.platform.commerceservices.order.CommerceCartCalculationStrategy calculationStrategy)
-
-
Method Detail
-
processCartAction
public java.util.List<CommerceCartModification> processCartAction(java.util.List<CommerceCartParameter> commerceCartParameterList) throws de.hybris.platform.commerceservices.order.CommerceCartModificationException
Description copied from interface:TmaCartStrategyProcesses cart updates.- Specified by:
processCartActionin interfaceTmaCartStrategy- Parameters:
commerceCartParameterList- contains attributes used for cart updates- Returns:
- list
CommerceCartModification - Throws:
de.hybris.platform.commerceservices.order.CommerceCartModificationException- in case of any error occurs during cart update
-
beforeUpdateCart
protected void beforeUpdateCart(CommerceCartParameter parameter)
-
afterUpdateCart
protected void afterUpdateCart(CommerceCartParameter parameter, CommerceCartModification result)
-
createNewCommerceCartModification
protected CommerceCartModification createNewCommerceCartModification(CommerceCartParameter parameter)
-
getCommerceCartResourceService
protected TmaCommerceCartResourceService getCommerceCartResourceService()
-
getCommerceUpdateCartEntryStrategy
protected DefaultTmaCommerceUpdateCartEntryStrategy getCommerceUpdateCartEntryStrategy()
-
getCommerceUpdateCartHooks
protected java.util.List<TmaUpdateCartHook> getCommerceUpdateCartHooks()
-
getConfigurationService
protected de.hybris.platform.servicelayer.config.ConfigurationService getConfigurationService()
-
getCartService
protected de.hybris.platform.order.CartService getCartService()
-
getCalculationStrategy
protected de.hybris.platform.commerceservices.order.CommerceCartCalculationStrategy getCalculationStrategy()
-
-