Interface PricingConfigurationParameter

All Known Implementing Classes:
SimplePricingConfigurationParameter

public interface PricingConfigurationParameter
Retrieves hybris data relevant for the configuration and pricing engine.
  • 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

      String retrieveCurrencySapCode(CurrencyModel currencyModel)
      Retrieves the SAP currency code for a given CurrencyModel.
      Parameters:
      currencyModel - currency model
      Returns:
      the SAP currency code
    • retrieveUnitSapCode

      String retrieveUnitSapCode(UnitModel unitModel)
      Retrieves the SAP unit of measure code for a given UnitModel.
      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

      default boolean showDeltaPrices(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. If inactive, absolute value prices are shown.
      Returns:
      the value of the flag for activating of displaying of the delta prices for values
    • retrieveCurrencyIsoCode

      String retrieveCurrencyIsoCode(CurrencyModel currencyModel)
      Retrieves the ISO currency code for a given CurrencyModel.
      Parameters:
      currencyModel - currency model
      Returns:
      the ISO currency code
    • retrieveUnitIsoCode

      String retrieveUnitIsoCode(UnitModel unitModel)
      Retrieves the ISO unit of measure code for a given UnitModel.
      Parameters:
      unitModel - unit model
      Returns:
      the ISO unit of measure code
    • convertSapToIsoCode

      String convertSapToIsoCode(String sapCode)
      Converts a given SAP code currency code into the corresponding ISO currency code
      Parameters:
      sapCode - SAP currency code
      Returns:
      ISO currency code