ECOM/ShoppingCart

From air
Revision as of 10:56, 1 October 2014 by Donsez (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
package ecom.ejb;

import javax.ejb.Remote;
import java.util.List;

@Remote
public interface ShoppingCart {
    void initialize();
    void addProduct(long sku, int quantity);
    void removeProduct(long sku, int quantity);

    List<Long> getProducts();
    int getQuantity(long sku);

    public void release();
}