Interface ProductConfigurableChecker

All Known Implementing Classes:
CPQConfigurableChecker, DefaultProductConfigurableChecker

public interface ProductConfigurableChecker
An interface for checking whether or not specific product is configurable.
  • Method Details

    • isProductConfigurable

      boolean isProductConfigurable(ProductModel product)
      Checks if specified product is an instance of configurable product (i.e. has configuration settings assigned).
      Parameters:
      product - product instance to check
      Returns:
      true if specified product is configurable, false otherwise
    • getFirstConfiguratorType

      String getFirstConfiguratorType(ProductModel product)
      Returns first configurator type attached to the product
      Parameters:
      product - Product model
      Returns:
      Configurator type. Null in case no configurator is assigned