Interface PricingService

    • Method Detail

      • getPriceSummary

        PriceSummaryModel 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:
        map of current total price, base price and selected options price
      • fillValuePrices

        @Deprecated(since="1808",
                    forRemoval=true)
        void fillValuePrices​(java.util.List<PriceValueUpdateModel> updateModels,
                             java.lang.String kbId)
        Deprecated, for removal: This API element is subject to removal in a future version.
        since 18.08 use fillValuePrices(List, ConfigModel) instead
        Fills absolute value prices or delta prices into the price value update models that represent a characteristic dependent on setting in backoffice
        Parameters:
        updateModels - each list entry represents a characteristic for which absolute value prices or delta prices are filled
        kbId - KnowledgeBase id belonging to the runtime configuration for which absolute value prices or delta price are calculated
      • fillValuePrices

        void fillValuePrices​(java.util.List<PriceValueUpdateModel> updateModels,
                             ConfigModel configModel)
        Fills absolute value prices or delta prices into the price value update models that represent a characteristic dependent on setting in backoffice
        Parameters:
        updateModels - each list entry represents a characteristic for which absolute value prices or delta prices are filled
        configModel - Configuration for which absolute value prices or delta price are calculated
      • fillOverviewPrices

        void fillOverviewPrices​(ConfigModel configModel)
        Enriches ConfigModel with value prices and price summary
        Parameters:
        configModel - configuration for which prices are filled
      • isActive

        boolean isActive()
        Indicates whether the underlying pricing provider is active
        Returns:
        true if the underlying pricing provider is active