Interface PricingService
- All Known Implementing Classes:
PricingRuleAwareServiceImpl,PricingServiceImpl
public interface PricingService
Gets pricing information from pricing provider
-
Method Summary
Modifier and TypeMethodDescriptionvoidfillOverviewPrices(ConfigModel configModel) Enriches ConfigModel with value prices and price summaryvoidfillValuePrices(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 backofficegetPriceSummary(String configId) Retrieves if present current total price, base price and selected options pricebooleanisActive()Indicates whether the underlying pricing provider is active
-
Method Details
-
getPriceSummary
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
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 filledconfigModel- Configuration for which absolute value prices or delta price are calculated
-
fillOverviewPrices
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
-