/*
- * Copyright (C) 2016 Roland Häder
+ * Copyright (C) 2016 - 2018 Free Software Foundation
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@Remote
public interface BasketSessionBeanRemote extends Serializable {
+ /**
+ * Returns user's current basket, or creates an empty initial if none is
+ * found.
+ * <p>
+ * @return User's current basked
+ */
+ Basket<AddableBasketItem> getCurrentBasket ();
+
/**
* Clears this bean from previous usage
*/
/**
* Registers the order list of tems with the customer
* <p>
- * @param customer Customer instance
+ * @param customer Customer instance
* @param orderedItems Ordered items list
* <p>
* @return Access key
*/
String registerItems (final Customer customer, final List<AddableBasketItem> orderedItems);
+
}