package org.mxchange.jfinancials.model.receipt;
import java.io.Serializable;
-import java.util.Collection;
+import java.util.List;
import javax.ejb.Remote;
import org.mxchange.jfinancials.exceptions.ReceiptAlreadyAddedException;
import org.mxchange.jusercore.model.user.User;
public interface FinancialReceiptSessionBeanRemote extends Serializable {
/**
- * Returns a collection of all user's receipts
+ * Returns a list of all receipts
+ * <p>
+ * @return A list of all user's receipts
+ */
+ List<BillableReceipt> allReceipts ();
+
+ /**
+ * Returns a list of all user's receipts
* <p>
* @param user User instance to get all receipts for
* <p>
- * @return A collection of all user's receipts
+ * @return A list of all user's receipts
*/
- Collection<? extends BillableReceipt> allUsersReceipts (final User user);
+ List<BillableReceipt> allUsersReceipts (final User user);
/**
* Adds given receipt and returns the updated version. If the receipt has