Interface SapCpiOrderDestinationService

All Known Implementing Classes:
SapCpiOmmOrderDestinationService

public interface SapCpiOrderDestinationService
Handles IDoc endpoint for outbound order replication
  • Method Details

    • readSapLogicalSystem

      SAPLogicalSystemModel readSapLogicalSystem()
      Read the default SAP logical system from back-office configuration
      Returns:
      SAPLogicalSystemModel
    • readSapLogicalSystem

      SAPLogicalSystemModel readSapLogicalSystem(BaseStoreModel baseStoreModel, String warehouse)
      Read SAP logical system from back-office configuration given base store and warehouse
      Parameters:
      baseStoreModel - Store associated with order
      warehouse - Warehouse code
      Returns:
      SAPLogicalSystemModel
    • readSapLogicalSystem

      SAPLogicalSystemModel readSapLogicalSystem(String sapLogicalSystemName)
      Read SAP logical system from back-office configuration given the logical system name
      Parameters:
      sapLogicalSystemName - SAP Backend System name
      Returns:
      SAPLogicalSystemModel
    • extractSapClient

      String extractSapClient(SAPLogicalSystemModel sapLogicalSystem)
      Return sap-client for IDoc destination
      Parameters:
      sapLogicalSystem - SAP Backend System
      Returns:
      sap-client
    • determineUrlDestination

      String determineUrlDestination(SAPLogicalSystemModel sapLogicalSystem)
      Determine the URL destination based on the target system supported destination IDoc, SOAP, or MDM
      Parameters:
      sapLogicalSystem - SAP Backend System
      Returns:
      URL destination