Existing function to clear checkout steps on Ecommerce framework?

I’m having a hard time seeing if there’s a function/service, in the CheckoutManager or OrderManager or somewhere that automatically takes care of clearing all checkout data from memory/DB for all steps? Seems like it would be fairly standard, but I can’t seem to find it.

OK, think I figured it out. Looks like you can call CartCheckoutData::removeAllFromCart($cartId); where $cartId is the id of the current cart.