Class DefaultPunchOutSessionPopulator
java.lang.Object
de.hybris.platform.b2b.punchout.populators.impl.DefaultPunchOutSessionPopulator
- All Implemented Interfaces:
Populator<CXML,PunchOutSession>
public class DefaultPunchOutSessionPopulator
extends Object
implements Populator<CXML,PunchOutSession>
Populator from
CXML to PunchOutSession.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected List<Organization>convertCredentialsToOrganizations(List<Credential> credentials) protected Map<String,PunchOutLevel> protected StringgetSharedSecret(Credential credential) voidpopulate(CXML source, PunchOutSession target) Populate the target instance with values from the source instance.protected voidpopulateBrowserFormPostUrl(PunchOutSession target, PunchOutSetupRequest request) protected voidpopulateBuyerCookie(PunchOutSession output, PunchOutSetupRequest request) protected voidpopulateOrganizationInfo(Header header, PunchOutSession punchoutSession) protected voidpopulateTarget(PunchOutSession punchoutSession, PunchOutSetupRequest request) void
-
Constructor Details
-
DefaultPunchOutSessionPopulator
public DefaultPunchOutSessionPopulator()
-
-
Method Details
-
populate
Description copied from interface:PopulatorPopulate the target instance with values from the source instance.- Specified by:
populatein interfacePopulator<CXML,PunchOutSession> - Parameters:
source- the source objecttarget- the target to fill- Throws:
ConversionException- if an error occurs
-
populateBrowserFormPostUrl
-
populateOrganizationInfo
-
convertCredentialsToOrganizations
-
populateBuyerCookie
-
populateTarget
-
setPunchOutLevelMapping
-
getPunchOutLevelMapping
-