Interface ConfigurationPricingFacade
- All Known Implementing Classes:
ConfigurationPricingFacadeImpl
public interface ConfigurationPricingFacade
Facade for the pricing data of the product configuration
-
Method Summary
Modifier and TypeMethodDescriptiongetPriceSummary(String configId) Retrieves if present current total price, base price and selected options pricegetValuePrices(List<String> csticUiKeys, String configId) Retrieves value prices for specified characteristics.booleanIndicates whether the underlying pricing service 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:
- pricing data object which contains the current base price, total and selected options price
-
getValuePrices
Retrieves value prices for specified characteristics. Dependent on setting in backoffice it retrieves absolute value prices or delta prices- Parameters:
csticUiKeys- Characteristics keys for which absolute value prices or delta prices are computed and attached to the CsticValueModel csticUiKey is String formed as instanceId-instanceName.groupName.csticNameconfigId- runtime id of the configuration- Returns:
- list with absolute value prices or delta prices for required characteristic
-
isPricingServiceActive
boolean isPricingServiceActive()Indicates whether the underlying pricing service is active- Returns:
- true if the underlying pricing service is active
-