public interface Catalog
| Modifier and Type | Method and Description |
|---|---|
int |
addToCart(int id,
String validEmail)
Adds the selected product to the users' shopping cart and returns
the count of items.
|
List<Product> |
getProducts(int offset,
int limit)
Returns a list of products in the catalog chunked into page sizes.
|
List<Product> getProducts(int offset, int limit)
offset - limit - int addToCart(int id,
String validEmail)
id - validEmail - Copyright © 2015 John's Hopkins University, Engineering Programs for Professionals. All rights reserved.