Package org.api.mkm.services
Class CartServices
java.lang.Object
org.api.mkm.services.CartServices
public class CartServices
extends java.lang.Object
-
Constructor Summary
Constructors Constructor Description CartServices() -
Method Summary
Modifier and Type Method Description booleanaddArticle(Article a)booleanaddArticles(java.util.List<Article> articles)booleanempty()BasketgetBasket()booleanremoveArticles(java.util.List<Article> articles)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
CartServices
public CartServices()
-
-
Method Details
-
addArticle
- Throws:
java.io.IOException
-
addArticles
- Throws:
java.io.IOException
-
empty
public boolean empty() throws java.io.IOException- Throws:
java.io.IOException
-
removeArticles
- Throws:
java.io.IOException
-
getBasket
- Throws:
java.io.IOException
-