Class DefaultPunchOutHeaderGenerator
java.lang.Object
de.hybris.platform.b2b.punchout.actions.outbound.DefaultPunchOutHeaderGenerator
Create the header for a PunchOut message. The Header element contains addressing and authentication information. The
Header element is the same regardless of the specific Request or Response within the body of the cXML message.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected List<Credential>convertOrganizationsToCredentials(List<Organization> organizations) this method will convert an Organization into a cmxl credential ignoring the shared secret.protected FromcreateFrom(PunchOutSession currentPunchOutSession) protected SendercreateSender(PunchOutSession currentPunchOutSession) protected TocreateTo(PunchOutSession currentPunchOutSession) generate()protected PunchOutSessionServicevoidsetPunchOutSessionService(PunchOutSessionService punchOutSessionService)
-
Constructor Details
-
DefaultPunchOutHeaderGenerator
public DefaultPunchOutHeaderGenerator()
-
-
Method Details
-
generate
-
createFrom
-
createTo
-
createSender
-
convertOrganizationsToCredentials
this method will convert an Organization into a cmxl credential ignoring the shared secret.- Parameters:
organizations- intended to be converted.- Returns:
- the resulting list of credentials.
-
getPunchOutSessionService
-
setPunchOutSessionService
-