All Superinterfaces:
CartCheckoutBaseService, CartService
All Known Implementing Classes:
CPQDefaultCartService

public interface CPQCartService extends CartService
Service for updating cart data like Adding/updating cart entries for configurable product.
  • Method Details

    • addConfigurationToCart

      String addConfigurationToCart(de.hybris.platform.sap.productconfig.runtime.interf.model.ConfigModel configModel)
      Adds a new configuration to the cart. A new item will be created, based on the root instance of the config model
      Parameters:
      configModel - Configutation model, which will be added to the cart
      Returns:
      Key of new item
    • updateConfigurationInCart

      String updateConfigurationInCart(String key, de.hybris.platform.sap.productconfig.runtime.interf.model.ConfigModel configModel)
      Updates the configuration attached to an item
      Parameters:
      key - Key of existing item
      configModel - Configuration
      Returns:
      Key of updated item
    • getItemByKey

      Item getItemByKey(String itemKey)
      Does an item exist with a given key?
      Parameters:
      itemKey - key for the item.
      Returns:
      Does item exist for the item key?