Interface ConfigurationPricingFacade

  • All Known Implementing Classes:
    ConfigurationPricingFacadeImpl

    public interface ConfigurationPricingFacade
    Facade for the pricing data of the product configuration
    • Method Detail

      • getPriceSummary

        PricingData getPriceSummary​(java.lang.String configId)
        Retrieves if present current total price, base price and selected options price
        Parameters:
        configId - runtime id of the configuration
        Returns:
        pricing data object which contains the current base price, total and selected options price
      • getValuePrices

        java.util.List<PriceValueUpdateData> getValuePrices​(java.util.List<java.lang.String> csticUiKeys,
                                                            java.lang.String configId)
        Retrieves value prices for specified characteristics. Dependent on setting in backoffice it retrieves absolute value prices or delta prices
        Parameters:
        csticUiKeys - Characteristics keys for which absolute value prices or delta prices are computed and attached to the CsticValueModel csticUiKey is String formed as instanceId-instanceName.groupName.csticName
        configId - runtime id of the configuration
        Returns:
        list with absolute value prices or delta prices for required characteristic
      • isPricingServiceActive

        boolean isPricingServiceActive()
        Indicates whether the underlying pricing service is active
        Returns:
        true if the underlying pricing service is active