]> git.mxchange.org Git - jcustomer-lib.git/blobdiff - src/org/mxchange/jshopcore/model/receipt/ReceiptBeanRemote.java
Created generic customer lib (remote interfaces) based on jshop-ee-lib
[jcustomer-lib.git] / src / org / mxchange / jshopcore / model / receipt / ReceiptBeanRemote.java
diff --git a/src/org/mxchange/jshopcore/model/receipt/ReceiptBeanRemote.java b/src/org/mxchange/jshopcore/model/receipt/ReceiptBeanRemote.java
deleted file mode 100644 (file)
index 3e21191..0000000
+++ /dev/null
@@ -1,77 +0,0 @@
-/*
- * 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
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program.  If not, see <http://www.gnu.org/licenses/>.
- */
-package org.mxchange.jshopcore.model.receipt;
-
-import java.io.Serializable;
-import javax.ejb.Remote;
-import org.mxchange.jshopcore.model.customer.Customer;
-
-/**
- * A remote interface for official recipt creation
- * <p>
- * @author Roland Haeder<roland@mxchange.org>
- */
-@Remote
-public interface ReceiptBeanRemote extends Serializable {
-
-       /**
-        * Returns a wrapped PDF byte stream for given access key or null if not
-        * found.
-        * <p>
-        * @param accessKey Access key on the online PDF
-        * <p>
-        * @return Wrapped byte stream
-        */
-       WrapableReceipt createReceiptFromAccessKey (final String accessKey);
-
-       /**
-        * Fetches access key, if customer instance matches, else null is returned
-        * <p>
-        * @param customer Customer instance
-        * <p>
-        * @return Access key or null
-        */
-       String fetchAccessKey (final Customer customer);
-
-       /**
-        * Getter for access key
-        * <p>
-        * @return Access key
-        */
-       String getAccessKey ();
-
-       /**
-        * Setter for access key
-        * <p>
-        * @param accessKey Access key
-        */
-       void setAccessKey (final String accessKey);
-
-       /**
-        * Getter for customer instance
-        * <p>
-        * @return Customer instance
-        */
-       Customer getCustomer ();
-
-       /**
-        * Setter for customer instance
-        * <p>
-        * @param customer Customer instance
-        */
-       void setCustomer (final Customer customer);
-}