Interface PunchOutService

All Known Implementing Classes:
DefaultPunchOutService

public interface PunchOutService
Provides services for Punch Out
  • Method Details

    • processPunchOutSetUpRequest

      CXML processPunchOutSetUpRequest(CXML request)
      Processes a new PunchOut setup request.
      Parameters:
      request - the request
      Returns:
      the CXML response
    • processPunchOutOrderMessage

      CXML processPunchOutOrderMessage()
      Creates the cmxl message for a PunchOutOrderMessage to send an Order, using the session cart.
      Returns:
      the CXML object representing an OrderMessage filled with information from the session cart.
    • processPurchaseOrderRequest

      CXML processPurchaseOrderRequest(CXML requestBody)
      Processes a purchase order (OrderRequest) by populating a cart and handles the response in the form of CXML.
      Parameters:
      requestBody - the request CXML object
      Returns:
      the CXML response
    • retrieveIdentity

      String retrieveIdentity(CXML request)
      Retrieve the user id of the originator of the cXML request.
      f.y.i.: as there may be multiple credentials declared, the first valid one will be used.
      Parameters:
      request - the cXML request.
      Returns:
      the identity in the "From" tag.
    • processProfileRequest

      CXML processProfileRequest(CXML request)
      Processes a profile request by returned a ProfileResponse with populated supported transactions.
      Parameters:
      request - the profile request
      Returns:
      the resulting CXML instance with a ProfileResponse part of it
    • processCancelPunchOutOrderMessage

      CXML processCancelPunchOutOrderMessage()
      Creates the cancel message for Ariba.
      Returns:
      the CXML with the cancel message.