Interface PricingService
-
- All Known Implementing Classes:
PricingRuleAwareServiceImpl,PricingServiceImpl
public interface PricingServiceGets pricing information from pricing provider
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description voidfillOverviewPrices(ConfigModel configModel)Enriches ConfigModel with value prices and price summaryvoidfillValuePrices(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 backofficevoidfillValuePrices(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 usefillValuePrices(List, ConfigModel)insteadPriceSummaryModelgetPriceSummary(java.lang.String configId)Retrieves if present current total price, base price and selected options pricebooleanisActive()Indicates whether the underlying pricing provider is active
-
-
-
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 usefillValuePrices(List, ConfigModel)insteadFills 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 filledkbId- 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 filledconfigModel- 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
-
-