Class DefaultPurchaseOrderController
java.lang.Object
de.hybris.platform.b2bpunchoutaddon.controllers.pages.DefaultPurchaseOrderController
- All Implemented Interfaces:
PunchOutController
@Deprecated(since="2205",
forRemoval=true)
@Component
public class DefaultPurchaseOrderController
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
Purchase order controller default implementation.
-
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.handlePunchOutPurchaseOrderRequest(CXML requestBody, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) Deprecated, for removal: This API element is subject to removal in a future version.Handles a Order Request from the Punch Out Provider.
-
Constructor Details
-
DefaultPurchaseOrderController
public DefaultPurchaseOrderController()Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
handlePunchOutPurchaseOrderRequest
@PostMapping("/punchout/cxml/order") @ResponseBody @PunchOutAuthentication public CXML handlePunchOutPurchaseOrderRequest(@RequestBody CXML requestBody, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) Deprecated, for removal: This API element is subject to removal in a future version.Handles a Order Request from the Punch Out Provider.- Parameters:
requestBody- The cXML containing the order to be processed.request- The servlet request.response- The servlet response.- Returns:
- A cXML with the Order Response, containing the status of the processing of the order.
-
handleException
@ExceptionHandler @ResponseStatus(BAD_REQUEST) @ResponseBody public CXML handleException(Exception exc) Deprecated, for removal: This API element is subject to removal in a future version.
-