Interface PricingService

All Known Implementing Classes:
PricingRuleAwareServiceImpl, PricingServiceImpl

public interface PricingService
Gets pricing information from pricing provider
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Enriches ConfigModel with value prices and price summary
    void
    Fills absolute value prices or delta prices into the price value update models that represent a characteristic dependent on setting in backoffice
    Retrieves if present current total price, base price and selected options price
    boolean
    Indicates whether the underlying pricing provider is active
  • Method Details

    • getPriceSummary

      PriceSummaryModel getPriceSummary(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

      void fillValuePrices(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