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
    boolean addArticle​(Article a)  
    boolean addArticles​(java.util.List<Article> articles)  
    boolean empty()  
    Basket getBasket()  
    boolean removeArticles​(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

      public boolean addArticle​(Article a) throws java.io.IOException
      Throws:
      java.io.IOException
    • addArticles

      public boolean addArticles​(java.util.List<Article> articles) throws java.io.IOException
      Throws:
      java.io.IOException
    • empty

      public boolean empty() throws java.io.IOException
      Throws:
      java.io.IOException
    • removeArticles

      public boolean removeArticles​(java.util.List<Article> articles) throws java.io.IOException
      Throws:
      java.io.IOException
    • getBasket

      public Basket getBasket() throws java.io.IOException
      Throws:
      java.io.IOException