Class DefaultPunchOutSetUpController
java.lang.Object
de.hybris.platform.b2bpunchoutaddon.controllers.pages.DefaultPunchOutSetUpController
- All Implemented Interfaces:
PunchOutController
@Deprecated(since="2205",
forRemoval=true)
@Component
public class DefaultPunchOutSetUpController
extends Object
implements PunchOutController
Deprecated, for removal: This API element is subject to removal in a future version.
Please use #de.hybris.platform.b2bpunchoutocc.controllers instead
Controller that handles the Punch Out Setup request.
-
Constructor Summary
ConstructorsConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionhandleException(Exception exc) Deprecated, for removal: This API element is subject to removal in a future version.handlePunchOutSetUpRequest(CXML requestBody) Deprecated, for removal: This API element is subject to removal in a future version.Receives a request from the punchout provider and sends it the information to access the hybris site.
-
Constructor Details
-
DefaultPunchOutSetUpController
public DefaultPunchOutSetUpController()Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
handlePunchOutSetUpRequest
@PostMapping("/punchout/cxml/setup") @ResponseBody public CXML handlePunchOutSetUpRequest(@RequestBody CXML requestBody) Deprecated, for removal: This API element is subject to removal in a future version.Receives a request from the punchout provider and sends it the information to access the hybris site.- Parameters:
requestBody- The cXML file with the punchout user requisition.- Returns:
- A cXML file with the access information.
-
handleException
@ExceptionHandler(java.lang.Exception.class) @ResponseStatus(BAD_REQUEST) @ResponseBody public CXML handleException(Exception exc) Deprecated, for removal: This API element is subject to removal in a future version.
-