public class Order
extends java.lang.Object
Constructor and Description |
---|
Order() |
Modifier and Type | Method and Description |
---|---|
static Bill |
order(java.util.List<ProductOrder> productOrders,
java.lang.String customerID)
Sends an order to the server and receives the bill for this order.
|
public static Bill order(java.util.List<ProductOrder> productOrders, java.lang.String customerID)
productOrders
- The list of product id and quantity of the
requested products. All elements in this list must be of
type ch.e2e.examples.list.ProductOrder
.customerID
- The customer id of the purchaser.