public interface Buyer
| Modifier and Type | Method and Description |
|---|---|
long |
bidProduct(long productId,
String userId,
double amount) |
List<AuctionItem> |
getAvailableItems(int index,
int count) |
AuctionItem |
getItem(long itemId) |
Order |
getOrder(long orderId) |
long |
placeOrder(long productId,
String userId,
double maxAmount) |
List<AuctionItem> getAvailableItems(int index, int count) throws MarketException
MarketExceptionAuctionItem getItem(long itemId) throws MarketException
MarketExceptionlong bidProduct(long productId,
String userId,
double amount)
throws MarketException
MarketExceptionlong placeOrder(long productId,
String userId,
double maxAmount)
throws MarketException
MarketExceptionOrder getOrder(long orderId) throws MarketException
MarketExceptionCopyright © 2015 John's Hopkins University, Engineering Programs for Professionals. All rights reserved.