Class PlacePurchaseOrderProcessing
java.lang.Object
de.hybris.platform.b2b.punchout.actions.inbound.PlacePurchaseOrderProcessing
Places an order using the session shopping cart.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected CartServiceprotected CheckoutFacadeprotected OrderRequestgetOrderRequest(CXML input) Finds anOrderRequestfrom the input.protected PunchOutSessionServiceprocess()protected voidrestore session cart and cart will be re-calculatedvoidsetCartService(CartService cartService) voidsetCheckoutFacade(CheckoutFacade checkoutFacade) voidsetCommerceCartService(CommerceCartService commerceCartService) voidsetPunchOutSessionService(PunchOutSessionService punchOutSessionService)
-
Constructor Details
-
PlacePurchaseOrderProcessing
public PlacePurchaseOrderProcessing()
-
-
Method Details
-
process
-
getOrderRequest
Finds anOrderRequestfrom the input.- Parameters:
input- theCXMLinput- Returns:
- the
OrderRequestfrom the input
-
restoreSessionCart
protected void restoreSessionCart()restore session cart and cart will be re-calculated -
setCheckoutFacade
-
getCheckoutFacade
- Returns:
- the checkoutFacade
-
setCommerceCartService
- Parameters:
commerceCartService-
-
getCartService
-
setCartService
- Parameters:
cartService- the cartService to set
-
getPunchOutSessionService
-
setPunchOutSessionService
-