Class DefaultPPSClient

All Implemented Interfaces:
PPSClientBeanAccessor, PPSClient

public class DefaultPPSClient extends DefaultPPSClientBeanAccessor implements PPSClient
PPS client supporting remote call via REST. For the remote call OAuth authentication is supported. via configuration (see PPSConfigService)
  • Constructor Details

    • DefaultPPSClient

      public DefaultPPSClient()
  • Method Details

    • getDestinationService

      public de.hybris.platform.apiregistryservices.services.DestinationService<ConsumedDestinationModel> getDestinationService()
      Returns:
      the destinationService
    • setDestinationService

      public void setDestinationService(de.hybris.platform.apiregistryservices.services.DestinationService<ConsumedDestinationModel> destinationService)
      Parameters:
      destinationService - the destinationService to set
    • getOppsTokenManager

      public OPPSTokenManager getOppsTokenManager()
    • setOppsTokenManager

      public void setOppsTokenManager(OPPSTokenManager oppsTokenManager)
    • callPPS

      public PriceCalculateResponse callPPS(PriceCalculate priceCalculate, SAPConfigurationModel sapConfig)
      Method to prepare headers and convert request object to string
      Specified by:
      callPPS in interface PPSClient
      Parameters:
      priceCalculate - PriceCalculate
      sapConfig - SAP base store configuration
      Returns:
      PriceCalculateResponse
    • getIntegrationRestTemplateFactory

      public de.hybris.platform.outboundservices.client.IntegrationRestTemplateFactory getIntegrationRestTemplateFactory()
      Returns:
      the integrationRestTemplateFactory
    • setIntegrationRestTemplateFactory

      public void setIntegrationRestTemplateFactory(de.hybris.platform.outboundservices.client.IntegrationRestTemplateFactory integrationRestTemplateFactory)
      Parameters:
      integrationRestTemplateFactory - the integrationRestTemplateFactory to set