Class DefaultCentralOrderApiClient

java.lang.Object
com.sap.sapcentralorderservices.clients.impl.DefaultCentralOrderApiClient
All Implemented Interfaces:
CentralOrderApiClient

public class DefaultCentralOrderApiClient extends Object implements CentralOrderApiClient
  • Constructor Details

    • DefaultCentralOrderApiClient

      public DefaultCentralOrderApiClient()
  • Method Details

    • 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
    • getDestinationService

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

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

      public void postEntity(org.springframework.web.util.UriComponents uriComponents, Object entity) throws SapCentralOrderException
      Specified by:
      postEntity in interface CentralOrderApiClient
      Throws:
      SapCentralOrderException
    • postEntity

      public <T> T postEntity(org.springframework.web.util.UriComponents uriComponents, Object entity, Class<T> response) throws SapCentralOrderException
      Throws:
      SapCentralOrderException
    • getEntity

      public <T> org.springframework.http.ResponseEntity<T> getEntity(org.springframework.web.util.UriComponents uriComponents, Class<T> clazz) throws SapCentralOrderException
      Specified by:
      getEntity in interface CentralOrderApiClient
      Type Parameters:
      T -
      Parameters:
      uriComponents -
      clazz -
      Returns:
      org.springframework.http.ResponseEntity<T>
      Throws:
      SapCentralOrderException
    • getRawEntity

      public <T> org.springframework.http.ResponseEntity<T> getRawEntity(org.springframework.web.util.UriComponents uriComponents, Class<T> clazz) throws SapCentralOrderException
      Throws:
      SapCentralOrderException