Class DefaultTmaCommerceCartResourceService

    • Constructor Detail

      • DefaultTmaCommerceCartResourceService

        public DefaultTmaCommerceCartResourceService​(de.hybris.platform.servicelayer.model.ModelService modelService,
                                                     java.util.List<TmaAbstractOrderResourceStrategy> tmaAbstractOrderResourceStrategies)
    • Method Detail

      • updateResources

        public void updateResources​(CommerceCartParameter commerceCartParameter,
                                    CommerceCartModification commerceCartModification)
                             throws de.hybris.platform.commerceservices.order.CommerceCartModificationException
        Description copied from interface: TmaCommerceCartResourceService
        Updates the resources on cart based on the information from the {@param CommerceCartParameter}. The {@param CommerceCartModification} will be updated to reflect the result of the this operation.
        Specified by:
        updateResources in interface TmaCommerceCartResourceService
        Parameters:
        commerceCartParameter - commerce cart parameter containing resources to be stored on cart
        commerceCartModification - contains the updates made on the cart
        Throws:
        de.hybris.platform.commerceservices.order.CommerceCartModificationException - in case of any error occurs during cart update
      • getModelService

        protected de.hybris.platform.servicelayer.model.ModelService getModelService()