Interface CPQCartService

    • Method Detail

      • addConfigurationToCart

        java.lang.String addConfigurationToCart​(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

        java.lang.String updateConfigurationInCart​(java.lang.String key,
                                                   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​(java.lang.String itemKey)
        Does an item exist with a given key?
        Parameters:
        itemKey - key for the item.
        Returns:
        Does item exist for the item key?