Class SalesOrderSimulationOutboundRequestImpl

java.lang.Object
de.hybris.platform.sap.sapsalesordersimulation.service.impl.SalesOrderSimulationOutboundRequestImpl
All Implemented Interfaces:
SalesOrderSimulationOutboundRequest

public class SalesOrderSimulationOutboundRequestImpl extends Object implements SalesOrderSimulationOutboundRequest
  • Constructor Details

    • SalesOrderSimulationOutboundRequestImpl

      public SalesOrderSimulationOutboundRequestImpl()
  • Method Details

    • getResponseFromSalesOrderSimulation

      public SalesOrderSimulationData getResponseFromSalesOrderSimulation(SalesOrderSimulationRequestData requestData)
      Description copied from interface: SalesOrderSimulationOutboundRequest
      Get the response from the API passing the requestData.
      Specified by:
      getResponseFromSalesOrderSimulation in interface SalesOrderSimulationOutboundRequest
      Returns:
      salesOrderSimulationData.
    • postSimulationRequest

      protected org.springframework.http.ResponseEntity<SalesOrderSimulationData> postSimulationRequest(String url, SalesOrderSimulationRequestData requestData, org.springframework.http.HttpHeaders header)
    • createHTTPHeader

      protected org.springframework.http.HttpHeaders createHTTPHeader(AuthenticationResult authenticationResult)
    • getCsrfToken

      protected String getCsrfToken(org.springframework.http.HttpHeaders headers)
    • getCookies

      protected String getCookies(org.springframework.http.HttpHeaders headers)
    • getAuthenticationDetails

      protected AuthenticationResult getAuthenticationDetails(ConsumedDestinationModel destinationModel)
    • getCsrfURL

      protected String getCsrfURL(ConsumedDestinationModel destinationModel)
    • getSalesOrderSimulationRestTemplate

      public org.springframework.web.client.RestTemplate getSalesOrderSimulationRestTemplate()
    • setSalesOrderSimulationRestTemplate

      public void setSalesOrderSimulationRestTemplate(org.springframework.web.client.RestTemplate salesOrderSimulationRestTemplate)
    • getDestinationService

      protected de.hybris.platform.apiregistryservices.services.DestinationService<ConsumedDestinationModel> getDestinationService()
    • setDestinationService

      public void setDestinationService(de.hybris.platform.apiregistryservices.services.DestinationService<ConsumedDestinationModel> destinationService)
    • getSessionService

      protected de.hybris.platform.servicelayer.session.SessionService getSessionService()
    • setSessionService

      public void setSessionService(de.hybris.platform.servicelayer.session.SessionService sessionService)