Class CXMLBuilder

java.lang.Object
de.hybris.platform.b2b.punchout.services.CXMLBuilder

public final class CXMLBuilder extends Object
  • Method Details

    • newInstance

      public static CXMLBuilder newInstance()
    • createNewCXML

      protected CXML createNewCXML()
    • generatePayload

      protected String generatePayload()
      Generates a new payload ID , use uuid now
      Returns:
      the payload ID
    • create

      public CXML create()
      Returns:
      the newly created CXML instance
    • withResponseCode

      public CXMLBuilder withResponseCode(String code)
    • withResponseValue

      public CXMLBuilder withResponseValue(String value)
    • withResponseMessage

      public CXMLBuilder withResponseMessage(String message)
    • withResponseCode

      public CXMLBuilder withResponseCode(org.springframework.http.HttpStatus httpStatus)