/*
- * Copyright (C) 2015 Roland Haeder
+ * Copyright (C) 2016 Roland Haeder
*
* 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
package org.mxchange.jshopcore.model.basket;
import java.io.Serializable;
+import java.util.List;
import javax.ejb.Remote;
+import org.mxchange.jshopcore.model.customer.Customer;
/**
* An interface for a basket bean
- *
+ * <p>
* @author Roland Haeder<roland@mxchange.org>
*/
@Remote
public interface BasketSessionBeanRemote extends Serializable {
+
+ /**
+ * Clears this bean from previous usage
+ */
+ void clear ();
+
+ /**
+ * Registers the order list of tems with the customer
+ * <p>
+ * @param customer Customer instance
+ * @param orderedItems Ordered items list
+ * <p>
+ * @return Access key
+ */
+ String registerItems (final Customer customer, final List<AddableBasketItem> orderedItems);
}