Interface CheckoutWorkflowActivity

    • Method Detail

      • execute

        CheckoutProcessDto execute​(CheckoutProcessDto checkoutProcessDto,
                                   @Nullable
                                   com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
        Method responsible for executing some work against the cart that is required for checkout. This may include, but is not limited to, cart validation checks, inventory reservations, or payment authorizations.
        Parameters:
        checkoutProcessDto - The CheckoutProcessDto that we're attempting to checkout with.
        contextInfo - Context information around sandbox and multitenant state.
        Returns:
        The final state of the CheckoutProcessDto following the execution of the activity.
        Throws:
        CheckoutWorkflowActivityException - thrown if an unrecoverable error is encountered during the execution of the activity