public interface CheckoutService
CheckoutResponse performCheckout(Order order) throws CheckoutException
Checks out an order by executing the blCheckoutWorkflow. The order is saved both before and after the workflow is executed so that activities can modify the various entities on and related to the order.
This method is also thread-safe; 2 requests cannot attempt to check out the same order
order- the order to be checked out
CheckoutException- if there are any exceptions while executing any of the activities in the workflow (assuming that the workflow does not already have a preconfigured error handler) or if the given order has already been checked out (in Broadleaf terms this means the order has already been changed to
Copyright © 2019. All rights reserved.