Class PricingBackendPPS

  • All Implemented Interfaces:
    PricingBackend

    public class PricingBackendPPS
    extends java.lang.Object
    implements PricingBackend
    Implementation of PricingBackend performing the calls for catalog or basket pricing against an embedded or remote PPS. Takes care for request creation as well as mapping the response to the corresponding hybris objects
    • Constructor Detail

      • PricingBackendPPS

        public PricingBackendPPS()
    • Method Detail

      • readPriceInformationForProducts

        public java.util.List<de.hybris.platform.jalo.order.price.PriceInformation> readPriceInformationForProducts​(java.util.List<ProductModel> productModels,
                                                                                                                    boolean isNet)
        Description copied from interface: PricingBackend
        Price calculation for a list of products
        Specified by:
        readPriceInformationForProducts in interface PricingBackend
        Returns:
        List
      • readPriceInfosFromPps

        protected java.util.Map<ProductModel,​de.hybris.platform.jalo.order.price.PriceInformation> readPriceInfosFromPps​(java.util.List<ProductModel> prods,
                                                                                                                               boolean isNet)
      • getPpsClient

        public PPSClient getPpsClient()
      • setPpsClient

        public void setPpsClient​(PPSClient ppsClient)
      • getAccessor

        public com.sap.ppengine.client.util.PPSClientBeanAccessor getAccessor()
      • setAccessor

        public void setAccessor​(com.sap.ppengine.client.util.PPSClientBeanAccessor accessor)
      • getCommonI18NService

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

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

        public double getHighPrice()
      • setHighPrice

        public void setHighPrice​(double highPrice)
      • setConfigService

        public void setConfigService​(PPSConfigService configService)
      • isUseHighPrice

        public boolean isUseHighPrice()
      • setUseHighPrice

        public void setUseHighPrice​(boolean useHighPrice)