Checkout::is_valid_draft_order()

Method: Whether the passed argument is a draft order or an order that is pending/failed and the cart hasn’t changed.

Source: packages/woocommerce-blocks/src/StoreApi/Routes/Checkout.php:360

Used by 1 function | Uses 1 function

Checkout::get_route_response()

Method: Convert the cart into a new draft order, or update an existing draft order, and return an updated cart response.

Source: packages/woocommerce-blocks/src/StoreApi/Routes/Checkout.php:165

Used by 0 functions | Uses 3 functions