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
MarketException
AuctionItem getItem(long itemId) throws MarketException
MarketException
long bidProduct(long productId, String userId, double amount) throws MarketException
MarketException
long placeOrder(long productId, String userId, double maxAmount) throws MarketException
MarketException
Order getOrder(long orderId) throws MarketException
MarketException
Copyright © 2015 John's Hopkins University, Engineering Programs for Professionals. All rights reserved.