Method: Constructor accepts two types of schema; one for the item being returned, and one for the cart as a whole. These may be the same depending on the route.
Source: packages/woocommerce-blocks/src/StoreApi/Routes/AbstractCartRoute.php:43
Method: Get the route response based on the type of request.
Source: packages/woocommerce-blocks/src/StoreApi/Routes/AbstractCartRoute.php:55
Method: Add nonce headers to a response object.
Source: packages/woocommerce-blocks/src/StoreApi/Routes/AbstractCartRoute.php:88
Method: Checks if a nonce is required for the route.
Source: packages/woocommerce-blocks/src/StoreApi/Routes/AbstractCartRoute.php:101
Method: Ensures the cart totals are calculated before an API response is generated.
Source: packages/woocommerce-blocks/src/StoreApi/Routes/AbstractCartRoute.php:108
Method: If there is a draft order, releases stock.
Source: packages/woocommerce-blocks/src/StoreApi/Routes/AbstractCartRoute.php:120
Method: For non-GET endpoints, require and validate a nonce to prevent CSRF attacks.
Source: packages/woocommerce-blocks/src/StoreApi/Routes/AbstractCartRoute.php:139
Method: Get route response when something went wrong.
Source: packages/woocommerce-blocks/src/StoreApi/Routes/AbstractCartRoute.php:166
Class: Abstract Cart Route
Source: packages/woocommerce-blocks/src/StoreApi/Routes/AbstractCartRoute.php:13