public void clear() {
items = new HashMap<String, MenuItem>();
}
public OrderDetails createOrderDetailsWithCustomerInfo(CustomerInfo info) {
OrderDetails order = new OrderDetails();
BeanUtils.copyProperties(info, order);
order.setDateTimeOfSubmission(new Date());
copyItemsFromBasketToOrder(order);
return order;
}