Interface PricingProvider

    • Method Detail

      • fillValuePrices

        void fillValuePrices​(java.util.List<PriceValueUpdateModel> updateModels,
                             java.lang.String kbId)
                      throws PricingEngineException
        Fills absolute value prices or delta prices for all passed PriceValueUpdateModels 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
        Throws:
        PricingEngineException
      • fillValuePrices

        default void fillValuePrices​(java.util.List<PriceValueUpdateModel> updateModels,
                                     java.lang.String kbId,
                                     ConfigurationRetrievalOptions options)
                              throws PricingEngineException
        Fills absolute value prices or delta prices for all passed PriceValueUpdateModels 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
        options - options to consider during price retrival/calculation, such as external requested conditions
        Throws:
        PricingEngineException
      • isActive

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