Interface TmaCommerceCartResourceService

All Known Implementing Classes:
DefaultTmaCommerceCartResourceService

public interface TmaCommerceCartResourceService
Service handling cart resources functionality.
Since:
1911
  • Method Details

    • validateResources

      List<TmaCartValidationResult> validateResources(CommerceCartParameter parameter)
      Validates the resources to be stored on cart.
      Parameters:
      parameter - commerce cart parameter containing resources to be stored on cart
      Returns:
      List of TmaCartValidationResult containing information about the validation of the parameter
    • updateResources

      void updateResources(CommerceCartParameter parameter, CommerceCartModification commerceCartModification) throws de.hybris.platform.commerceservices.order.CommerceCartModificationException
      Updates the resources on cart based on the information from the . The will be updated to reflect the result of the this operation.
      Parameters:
      parameter - 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