Class DefaultPricingService

java.lang.Object
de.hybris.platform.sap.saps4omservices.services.impl.DefaultPricingService
All Implemented Interfaces:
SapS4OMPricingService

public class DefaultPricingService extends Object implements SapS4OMPricingService
Fetch price related to product with configuration of cache. if cache is enabled , the pricing would be fetched from cache otherwise API call would fetch the pricing from backend
  • Field Details

  • Constructor Details

    • DefaultPricingService

      public DefaultPricingService()
  • Method Details

    • getPriceForProduct

      public List<de.hybris.platform.jalo.order.price.PriceInformation> getPriceForProduct(ProductModel product) throws OutboundServiceException
      Description copied from interface: SapS4OMPricingService
      Get the Price information for the product
      Specified by:
      getPriceForProduct in interface SapS4OMPricingService
      Parameters:
      product - the ProductModel l
      Returns:
      list of PriceInformation for the corresponding product
      Throws:
      OutboundServiceException
    • getPriceCacheKey

      protected String getPriceCacheKey(ProductModel productModel)
    • getCurrentCustomerID

      protected String getCurrentCustomerID()
    • getCommonI18NService

      public de.hybris.platform.servicelayer.i18n.CommonI18NService getCommonI18NService()
    • setCommonI18NService

      public void setCommonI18NService(de.hybris.platform.servicelayer.i18n.CommonI18NService commonI18NService)
    • getUserService

      public de.hybris.platform.servicelayer.user.UserService getUserService()
    • setUserService

      public void setUserService(de.hybris.platform.servicelayer.user.UserService userService)
    • getBaseStoreService

      public de.hybris.platform.store.services.BaseStoreService getBaseStoreService()
    • setBaseStoreService

      public void setBaseStoreService(de.hybris.platform.store.services.BaseStoreService baseStoreService)
    • getB2bUnitService

      protected de.hybris.platform.b2b.services.B2BUnitService<B2BUnitModel,B2BCustomerModel> getB2bUnitService()
    • setB2bUnitService

      public void setB2bUnitService(de.hybris.platform.b2b.services.B2BUnitService<B2BUnitModel,B2BCustomerModel> b2bUnitService)
    • getModuleConfigurationAccess

      public ModuleConfigurationAccess getModuleConfigurationAccess()
    • setModuleConfigurationAccess

      public void setModuleConfigurationAccess(ModuleConfigurationAccess moduleConfigurationAccess)
    • getSapS4OrderUtil

      protected SapS4OrderUtil getSapS4OrderUtil()
    • setSapS4OrderUtil

      public void setSapS4OrderUtil(SapS4OrderUtil sapS4OrderUtil)
    • getSapS4SalesOrderSimulationService

      public SapS4SalesOrderSimulationService getSapS4SalesOrderSimulationService()
    • setSapS4SalesOrderSimulationService

      public void setSapS4SalesOrderSimulationService(SapS4SalesOrderSimulationService sapS4SalesOrderSimulationService)
    • getSapS4OMSalesPricingCacheRegion

      public CacheAccess getSapS4OMSalesPricingCacheRegion()
    • setSapS4OMSalesPricingCacheRegion

      public void setSapS4OMSalesPricingCacheRegion(CacheAccess sapS4OMSalesPricingCacheRegion)