Class WebshopFlowServiceImpl
java.lang.Object
ch.tocco.nice2.optional.webshop.impl.WebshopFlowServiceImpl
- All Implemented Interfaces:
WebshopFlowService
-
Constructor Summary
ConstructorDescriptionWebshopFlowServiceImpl
(BusinessUnitManager businessUnitManager, WebshopMailService webshopMailService, Context context, org.slf4j.Logger log, SecurityManager securityManager, WebshopOrderService webshopOrderService) -
Method Summary
Modifier and TypeMethodDescriptionvoid
sendConfirmationMailAndFinalizeOrder
(String orderKey, Map<String, String> params) Send confirmation mail to the user.submit
(WebshopData webshopData, Map<String, String> params) Submit an order.
-
Constructor Details
-
WebshopFlowServiceImpl
public WebshopFlowServiceImpl(BusinessUnitManager businessUnitManager, WebshopMailService webshopMailService, Context context, org.slf4j.Logger log, SecurityManager securityManager, WebshopOrderService webshopOrderService)
-
-
Method Details
-
submit
public WebshopResponse submit(WebshopData webshopData, Map<String, String> params) throws InterruptedExceptionDescription copied from interface:WebshopFlowService
Submit an order.- Specified by:
submit
in interfaceWebshopFlowService
- Parameters:
webshopData
- The data to create the order for.params
- Additional params (e.g. the business unit).- Throws:
InterruptedException
-
sendConfirmationMailAndFinalizeOrder
Description copied from interface:WebshopFlowService
Send confirmation mail to the user.- Specified by:
sendConfirmationMailAndFinalizeOrder
in interfaceWebshopFlowService
- Parameters:
orderKey
- The primary key of the created order.params
- Additional params (e.g. the business unit).
-