Interface PricingConfigurationParameter
- All Known Implementing Classes:
SimplePricingConfigurationParameter
public interface PricingConfigurationParameter
Retrieves hybris data relevant for the configuration and pricing engine.
-
Method Summary
Modifier and TypeMethodDescriptionconvertSapToIsoCode(String sapCode) Converts a given SAP code currency code into the corresponding ISO currency codeRetrieves the distribution channel used for condition determination.Retrieves the division used for condition determination.Retrieves the sales organization.booleanRetrieves the value of the flag for activating of pricing on the product configuration page.retrieveCurrencyIsoCode(CurrencyModel currencyModel) Retrieves the ISO currency code for a givenCurrencyModel.retrieveCurrencySapCode(CurrencyModel currencyModel) Retrieves the SAP currency code for a givenCurrencyModel.retrieveUnitIsoCode(UnitModel unitModel) Retrieves the ISO unit of measure code for a givenUnitModel.retrieveUnitSapCode(UnitModel unitModel) Retrieves the SAP unit of measure code for a givenUnitModel.booleanRetrieves the value of the flag for activating of displaying of the base price and selected options on the product configuration page.booleanRetrieves the value of the flag for activating of displaying of the delta prices for values.default booleanshowDeltaPrices(String productCode) Retrieves the value of the flag for activating of displaying of the delta prices for values and may take the current product into account.
-
Method Details
-
isPricingSupported
boolean isPricingSupported()Retrieves the value of the flag for activating of pricing on the product configuration page. If inactive, no pricing information is shown.- Returns:
- the value of the flag for activating of pricing
-
getSalesOrganization
String getSalesOrganization()Retrieves the sales organization.- Returns:
- the sales organization
-
getDistributionChannelForConditions
String getDistributionChannelForConditions()Retrieves the distribution channel used for condition determination.- Returns:
- the the distribution channel
-
getDivisionForConditions
String getDivisionForConditions()Retrieves the division used for condition determination.- Returns:
- the the division
-
retrieveCurrencySapCode
Retrieves the SAP currency code for a givenCurrencyModel.- Parameters:
currencyModel- currency model- Returns:
- the SAP currency code
-
retrieveUnitSapCode
Retrieves the SAP unit of measure code for a givenUnitModel.- Parameters:
unitModel- unit model- Returns:
- the SAP unit of measure code
-
showBasePriceAndSelectedOptions
boolean showBasePriceAndSelectedOptions()Retrieves the value of the flag for activating of displaying of the base price and selected options on the product configuration page. If inactive, no base price and selected options are shown.- Returns:
- the value of the flag for activating of displaying of the base price and selected options
-
showDeltaPrices
boolean showDeltaPrices()Retrieves the value of the flag for activating of displaying of the delta prices for values. If inactive, absolute value prices are shown.- Returns:
- the value of the flag for activating of displaying of the delta prices for values
-
showDeltaPrices
Retrieves the value of the flag for activating of displaying of the delta prices for values and may take the current product into account. If inactive, absolute value prices are shown.- Returns:
- the value of the flag for activating of displaying of the delta prices for values
-
retrieveCurrencyIsoCode
Retrieves the ISO currency code for a givenCurrencyModel.- Parameters:
currencyModel- currency model- Returns:
- the ISO currency code
-
retrieveUnitIsoCode
Retrieves the ISO unit of measure code for a givenUnitModel.- Parameters:
unitModel- unit model- Returns:
- the ISO unit of measure code
-
convertSapToIsoCode
Converts a given SAP code currency code into the corresponding ISO currency code- Parameters:
sapCode- SAP currency code- Returns:
- ISO currency code
-