Interface PricingConfigurationParameter
-
- All Known Subinterfaces:
PricingConfigurationParameterCPS,PricingConfigurationParameterSSC
- All Known Implementing Classes:
DefaultPricingConfigurationParameter,DefaultPricingConfigurationParameterCPS,DefaultPricingConfigurationParameterSSC
public interface PricingConfigurationParameterRetrieves hybris data relevant for the configuration and pricing engine.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetDistributionChannelForConditions()Retrieves the distribution channel used for condition determination.java.lang.StringgetDivisionForConditions()Retrieves the division used for condition determination.java.lang.StringgetSalesOrganization()Retrieves the sales organization.booleanisPricingSupported()Retrieves the value of the flag for activating of pricing on the product configuration page.java.lang.StringretrieveCurrencyIsoCode(CurrencyModel currencyModel)Retrieves the ISO currency code for a givenCurrencyModel.java.lang.StringretrieveCurrencySapCode(CurrencyModel currencyModel)Retrieves the SAP currency code for a givenCurrencyModel.java.lang.StringretrieveUnitIsoCode(UnitModel unitModel)Retrieves the ISO unit of measure code for a givenUnitModel.java.lang.StringretrieveUnitSapCode(UnitModel unitModel)Retrieves the SAP unit of measure code for a givenUnitModel.booleanshowBasePriceAndSelectedOptions()Retrieves the value of the flag for activating of displaying of the base price and selected options on the product configuration page.booleanshowDeltaPrices()Retrieves the value of the flag for activating of displaying of the delta prices for values.
-
-
-
Method Detail
-
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
java.lang.String getSalesOrganization()
Retrieves the sales organization.- Returns:
- the sales organization
-
getDistributionChannelForConditions
java.lang.String getDistributionChannelForConditions()
Retrieves the distribution channel used for condition determination.- Returns:
- the the distribution channel
-
getDivisionForConditions
java.lang.String getDivisionForConditions()
Retrieves the division used for condition determination.- Returns:
- the the division
-
retrieveCurrencySapCode
java.lang.String retrieveCurrencySapCode(CurrencyModel currencyModel)
Retrieves the SAP currency code for a givenCurrencyModel.- Parameters:
currencyModel- currency model- Returns:
- the SAP currency code
-
retrieveUnitSapCode
java.lang.String retrieveUnitSapCode(UnitModel unitModel)
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
-
retrieveCurrencyIsoCode
java.lang.String retrieveCurrencyIsoCode(CurrencyModel currencyModel)
Retrieves the ISO currency code for a givenCurrencyModel.- Parameters:
currencyModel- currency model- Returns:
- the ISO currency code
-
retrieveUnitIsoCode
java.lang.String retrieveUnitIsoCode(UnitModel unitModel)
Retrieves the ISO unit of measure code for a givenUnitModel.- Parameters:
unitModel- unit model- Returns:
- the ISO unit of measure code
-
-