clearItems

Method Signature String[] clearItems(); Description
Removes all the items from the cart. The global cart variable is automatically submitted to the server.
Parameters None
Result String[] –All the errors that occurred while trying to remove all the items from the cart. This should rarely ever contain anything, but it still should be checked and handled properly by the client. Even if the errors array contained something the global cart variable is updated.