Class TmaCommerceUpdateCartStrategy

  • All Implemented Interfaces:
    TmaCartStrategy, de.hybris.platform.commerceservices.order.CommerceUpdateCartEntryStrategy

    @Deprecated(since="1911",
                forRemoval=true)
    public class TmaCommerceUpdateCartStrategy
    extends de.hybris.platform.commerceservices.order.impl.DefaultCommerceUpdateCartEntryStrategy
    implements TmaCartStrategy
    Deprecated, for removal: This API element is subject to removal in a future version.
    since 1911. Use TmaUpdateCartStrategy
    Cart strategy implementation for updating product offering in cart.
    Since:
    1907
    • Field Summary

      • Fields inherited from class de.hybris.platform.commerceservices.order.impl.AbstractCommerceCartStrategy

        DEFAULT_FORCE_IN_STOCK_MAX_QUANTITY, forceInStockMaxQuantity
    • Constructor Summary

      Constructors 
      Constructor Description
      TmaCommerceUpdateCartStrategy()
      Deprecated, for removal: This API element is subject to removal in a future version.
       
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      TmaCartService getCartService()
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      protected TmaCommerceCartResourceService getCommerceCartResourceService()
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      java.util.List<CommerceCartModification> processCartAction​(java.util.List<CommerceCartParameter> commerceCartParameterList)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Processes cart updates.
      void setCommerceCartResourceService​(TmaCommerceCartResourceService commerceCartResourceService)
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      • Methods inherited from class de.hybris.platform.commerceservices.order.impl.DefaultCommerceUpdateCartEntryStrategy

        afterUpdateCartEntry, beforeUpdateCartEntry, getCommerceUpdateCartEntryHooks, getConfigurationService, getEntryMergeStrategy, mergeEntries, modifyEntry, setCommerceUpdateCartEntryHooks, setConfigurationService, setEntryMergeStrategy, updatePointOfServiceForCartEntry, updateQuantityForCartEntry, updateToShippingModeForCartEntry, validateEntryBeforeModification, validateEntryBeforeSetShippingMode
      • Methods inherited from class de.hybris.platform.commerceservices.order.impl.AbstractCommerceCartStrategy

        checkCartLevel, getAllowedCartAdjustmentForProduct, getAvailableStockLevel, getBaseStoreService, getCartEntryDao, getCommerceCartCalculationStrategy, getCommerceStockService, getEntryForNumber, getEntryForProductAndPointOfService, getEntryOrderChecker, getForceInStockMaxQuantity, getModelService, getProductService, isMaxOrderQuantitySet, isOrderEntryUpdatable, isStockLevelSufficient, normalizeEntryNumbers, setBaseStoreService, setCartEntryDao, setCartService, setCommerceCartCalculationStrategy, setCommerceStockService, setEntryOrderChecker, setForceInStockMaxQuantity, setModelService, setProductService
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • TmaCommerceUpdateCartStrategy

        public TmaCommerceUpdateCartStrategy()
        Deprecated, for removal: This API element is subject to removal in a future version.
    • Method Detail

      • processCartAction

        public java.util.List<CommerceCartModification> processCartAction​(java.util.List<CommerceCartParameter> commerceCartParameterList)
                                                                   throws de.hybris.platform.commerceservices.order.CommerceCartModificationException
        Deprecated, for removal: This API element is subject to removal in a future version.
        Description copied from interface: TmaCartStrategy
        Processes cart updates.
        Specified by:
        processCartAction in interface TmaCartStrategy
        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
      • getCommerceCartResourceService

        protected TmaCommerceCartResourceService getCommerceCartResourceService()
        Deprecated, for removal: This API element is subject to removal in a future version.
      • setCommerceCartResourceService

        public void setCommerceCartResourceService​(TmaCommerceCartResourceService commerceCartResourceService)
        Deprecated, for removal: This API element is subject to removal in a future version.
      • getCartService

        public TmaCartService getCartService()
        Deprecated, for removal: This API element is subject to removal in a future version.
        Overrides:
        getCartService in class de.hybris.platform.commerceservices.order.impl.AbstractCommerceCartStrategy