]> git.mxchange.org Git - jcustomer-lib.git/commitdiff
Created generic customer lib (remote interfaces) based on jshop-ee-lib
authorRoland Haeder <roland@mxchange.org>
Sat, 9 Apr 2016 11:12:21 +0000 (13:12 +0200)
committerRoland Haeder <roland@mxchange.org>
Sat, 9 Apr 2016 11:12:21 +0000 (13:12 +0200)
15 files changed:
build.xml
lib/jcustomer-core.jar [new file with mode: 0644]
lib/jshop-core.jar
nbproject/build-impl.xml
nbproject/project.properties
nbproject/project.xml
src/org/mxchange/jcustomercore/model/customer/CustomerSessionBeanRemote.java [new file with mode: 0644]
src/org/mxchange/jshopcore/model/basket/BasketSessionBeanRemote.java [deleted file]
src/org/mxchange/jshopcore/model/category/AdminCategorySessionBeanRemote.java [deleted file]
src/org/mxchange/jshopcore/model/category/CategorySessionBeanRemote.java [deleted file]
src/org/mxchange/jshopcore/model/customer/CustomerSessionBeanRemote.java [deleted file]
src/org/mxchange/jshopcore/model/product/AdminProductSessionBeanRemote.java [deleted file]
src/org/mxchange/jshopcore/model/product/ProductSessionBeanRemote.java [deleted file]
src/org/mxchange/jshopcore/model/receipt/ReceiptBeanRemote.java [deleted file]
src/org/mxchange/jshopcore/model/receipt/WrapableReceipt.java [deleted file]

index e1b5260c3c2dbadcb67b207b2ec1acfd9ac03125..2771440f3892f62fafde3eaa40c73b04b26a9fe2 100644 (file)
--- a/build.xml
+++ b/build.xml
@@ -7,8 +7,8 @@
 <!-- the Compile on Save feature is turned off for the project. -->
 <!-- You can turn off the Compile on Save (or Deploy on Save) setting -->
 <!-- in the project's Project Properties dialog box.-->
-<project name="jshop-ee-lib" default="default" basedir=".">
-    <description>Builds, tests, and runs the project jshop-ee-lib.</description>
+<project name="jcustomer-lib" default="default" basedir=".">
+    <description>Builds, tests, and runs the project jcustomer-lib.</description>
     <import file="nbproject/build-impl.xml"/>
     <!--
 
@@ -58,7 +58,7 @@
 
     An example of overriding the target for project execution could look like this:
 
-        <target name="run" depends="jshop-ee-lib-impl.jar">
+        <target name="run" depends="jcustomer-lib-impl.jar">
             <exec dir="bin" executable="launcher.exe">
                 <arg file="${dist.jar}"/>
             </exec>
diff --git a/lib/jcustomer-core.jar b/lib/jcustomer-core.jar
new file mode 100644 (file)
index 0000000..255e0d3
Binary files /dev/null and b/lib/jcustomer-core.jar differ
index b11c3b0264404e7c9fe625be16e26daa900f6811..95ea58c91a554ded2373dbaee9bca0e44b98c639 100644 (file)
Binary files a/lib/jshop-core.jar and b/lib/jshop-core.jar differ
index 92005f3d68ef9b5efcf8c4c7604501d392701ba3..3047aad8228c9c24c733e829a2aca3db98e77144 100644 (file)
@@ -19,7 +19,7 @@ is divided into following sections:
   - cleanup
 
 -->
-<project xmlns:j2seproject1="http://www.netbeans.org/ns/j2se-project/1" xmlns:j2seproject3="http://www.netbeans.org/ns/j2se-project/3" xmlns:jaxrpc="http://www.netbeans.org/ns/j2se-project/jax-rpc" basedir=".." default="default" name="jshop-ee-lib-impl">
+<project xmlns:j2seproject1="http://www.netbeans.org/ns/j2se-project/1" xmlns:j2seproject3="http://www.netbeans.org/ns/j2se-project/3" xmlns:jaxrpc="http://www.netbeans.org/ns/j2se-project/jax-rpc" basedir=".." default="default" name="jcustomer-lib-impl">
        <fail message="Please build using Ant 1.8.0 or higher.">
                <condition>
                        <not>
@@ -468,7 +468,7 @@ is divided into following sections:
                                        </fileset>
                                </union>
                                <taskdef classname="org.testng.TestNGAntTask" classpath="${run.test.classpath}" name="testng"/>
-                               <testng classfilesetref="test.set" failureProperty="tests.failed" listeners="org.testng.reporters.VerboseReporter" methods="${testng.methods.arg}" mode="${testng.mode}" outputdir="${build.test.results.dir}" suitename="jshop-ee-lib" testname="TestNG tests" workingDir="${work.dir}">
+                               <testng classfilesetref="test.set" failureProperty="tests.failed" listeners="org.testng.reporters.VerboseReporter" methods="${testng.methods.arg}" mode="${testng.mode}" outputdir="${build.test.results.dir}" suitename="jcustomer-lib" testname="TestNG tests" workingDir="${work.dir}">
                                        <xmlfileset dir="${build.test.classes.dir}" includes="@{testincludes}"/>
                                        <propertyset>
                                                <propertyref prefix="test-sys-prop."/>
@@ -619,7 +619,7 @@ is divided into following sections:
                                <condition else="-testclass @{testClass}" property="test.class.or.method" value="-methods @{testClass}.@{testMethod}">
                                        <isset property="test.method"/>
                                </condition>
-                               <condition else="-suitename jshop-ee-lib -testname @{testClass} ${test.class.or.method}" property="testng.cmd.args" value="@{testClass}">
+                               <condition else="-suitename jcustomer-lib -testname @{testClass} ${test.class.or.method}" property="testng.cmd.args" value="@{testClass}">
                                        <matches pattern=".*\.xml" string="@{testClass}"/>
                                </condition>
                                <delete dir="${build.test.results.dir}" quiet="true"/>
@@ -911,7 +911,7 @@ is divided into following sections:
                <delete file="${built-jar.properties}" quiet="true"/>
        </target>
        <target if="already.built.jar.${basedir}" name="-warn-already-built-jar">
-               <echo level="warn" message="Cycle detected: jshop-ee-lib was already built"/>
+               <echo level="warn" message="Cycle detected: jcustomer-lib was already built"/>
        </target>
        <target depends="init,-deps-jar-init" name="deps-jar" unless="no.deps">
                <mkdir dir="${build.dir}"/>
@@ -1396,7 +1396,7 @@ is divided into following sections:
                <delete file="${built-clean.properties}" quiet="true"/>
        </target>
        <target if="already.built.clean.${basedir}" name="-warn-already-built-clean">
-               <echo level="warn" message="Cycle detected: jshop-ee-lib was already built"/>
+               <echo level="warn" message="Cycle detected: jcustomer-lib was already built"/>
        </target>
        <target depends="init,-deps-clean-init" name="deps-clean" unless="no.deps">
                <mkdir dir="${build.dir}"/>
index dedc5903ef0692a382bbd566eb2653f3faad74f1..c3571c8cc9fc2287f74ead6d2d851f79d6ce4a82 100644 (file)
@@ -3,7 +3,7 @@ annotation.processing.enabled.in.editor=true
 annotation.processing.processors.list=
 annotation.processing.run.all.processors=true
 annotation.processing.source.output=${build.generated.sources.dir}/ap-source-output
-application.title=jshop-ee-lib
+application.title=jcustomer-lib
 application.vendor=Roland Haeder
 auxiliary.org-netbeans-spi-editor-hints-projects.perProjectHintSettingsFile=nbproject/cfg_hints.xml
 build.classes.dir=${build.dir}/classes
@@ -26,12 +26,13 @@ debug.test.classpath=\
 dist.archive.excludes=
 # This directory is removed when the project is cleaned:
 dist.dir=dist
-dist.jar=${dist.dir}/jshop-ee-lib.jar
+dist.jar=${dist.dir}/jcustomer-lib.jar
 dist.javadoc.dir=${dist.dir}/javadoc
 endorsed.classpath=
 excludes=
 file.reference.jcore.jar=lib/jcore.jar
 file.reference.jcoreee.jar=lib/jcoreee.jar
+file.reference.jcustomer-core.jar=lib/jcustomer-core.jar
 file.reference.jshop-core.jar=lib/jshop-core.jar
 includes=**
 jar.archive.disabled=${jnlp.enabled}
@@ -40,11 +41,13 @@ jar.index=${jnlp.enabled}
 javac.classpath=\
     ${file.reference.jcore.jar}:\
     ${file.reference.jcoreee.jar}:\
+    ${file.reference.jcustomer-core.jar}:\
     ${file.reference.jshop-core.jar}:\
     ${libs.javaee-api-7.0.classpath}
 # Space-separated list of extra javac options
 javac.compilerargs=
 javac.deprecation=true
+javac.external.vm=false
 javac.processorpath=\
     ${javac.classpath}
 javac.source=1.7
@@ -95,6 +98,7 @@ run.test.classpath=\
 source.encoding=UTF-8
 source.reference.jcore.jar=../jcore/src/
 source.reference.jcoreee.jar=../jcoreee/src/
+source.reference.jcustomer-core.jar=../jcustomer-core/src/
 source.reference.jshop-core.jar=../jshop-core/src/
 src.dir=src
 test.src.dir=test
index 7144edb6a85520c19a4b9e49760d53608d480d00..5516f62803514bcc941a581a596de2f49a582a04 100644 (file)
@@ -3,7 +3,7 @@
        <type>org.netbeans.modules.java.j2seproject</type>
        <configuration>
                <data xmlns="http://www.netbeans.org/ns/j2se-project/3">
-                       <name>jshop-ee-lib</name>
+                       <name>jcustomer-lib</name>
                        <source-roots>
                                <root id="src.dir"/>
                        </source-roots>
diff --git a/src/org/mxchange/jcustomercore/model/customer/CustomerSessionBeanRemote.java b/src/org/mxchange/jcustomercore/model/customer/CustomerSessionBeanRemote.java
new file mode 100644 (file)
index 0000000..6c4b5c1
--- /dev/null
@@ -0,0 +1,62 @@
+/*
+ * 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.jcustomercore.model.customer;
+
+import java.io.Serializable;
+import javax.ejb.Remote;
+import org.mxchange.jcustomercore.exceptions.CustomerAlreadyRegisteredException;
+
+/**
+ * An interface for customer beans
+ * <p>
+ * @author Roland Haeder<roland@mxchange.org>
+ */
+@Remote
+public interface CustomerSessionBeanRemote extends Serializable {
+
+       /**
+        * Fills given customer instance with all available data
+        * <p>
+        * @param customer Initial Customer instance
+        * <p>
+        * @return Prepared Customer instance
+        */
+       Customer fillCustomerData (final Customer customer);
+
+       /**
+        * Checks if the the given customer instance is already registered
+        * <p>
+        * @param customer Customer instance
+        * <p>
+        * @return Whether the customer is already registered
+        */
+       boolean isReqistered (final Customer customer);
+
+       /**
+        * Registers the customer and creates a customer number after succesful
+        * persisting.
+        * <p>
+        * @param customer Initial customer instance
+        * <p>
+        * @return Prepared Customer instance
+        * <p>
+        * @throws
+        * org.mxchange.jcustomercore.exceptions.CustomerAlreadyRegisteredException If
+        * the customer is already registered.
+        */
+       Customer registerCustomer (final Customer customer) throws CustomerAlreadyRegisteredException;
+}
diff --git a/src/org/mxchange/jshopcore/model/basket/BasketSessionBeanRemote.java b/src/org/mxchange/jshopcore/model/basket/BasketSessionBeanRemote.java
deleted file mode 100644 (file)
index b5faad5..0000000
+++ /dev/null
@@ -1,46 +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.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);
-}
diff --git a/src/org/mxchange/jshopcore/model/category/AdminCategorySessionBeanRemote.java b/src/org/mxchange/jshopcore/model/category/AdminCategorySessionBeanRemote.java
deleted file mode 100644 (file)
index 945971c..0000000
+++ /dev/null
@@ -1,46 +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.category;
-
-import java.io.Serializable;
-import javax.ejb.Remote;
-import org.mxchange.jshopcore.exceptions.CannotAddCategoryException;
-import org.mxchange.jshopcore.exceptions.CategoryTitleAlreadyUsedException;
-
-/**
- * An interface for categories for "ADMIN" role.
- * <p>
- * @author Roland Haeder<roland@mxchange.org>
- */
-@Remote
-public interface AdminCategorySessionBeanRemote extends Serializable {
-
-       /**
-        * Adds given category data from request to database
-        * <p>
-        * @param category Category instance
-        * <p>
-        * @return Updated category instance
-        * <p>
-        * @throws
-        * org.mxchange.jshopcore.exceptions.CategoryTitleAlreadyUsedException If
-        * the given title is already used
-        * @throws org.mxchange.jshopcore.exceptions.CannotAddCategoryException If
-        * the category cannot be added
-        */
-       Category doAdminAddCategory (final Category category) throws CategoryTitleAlreadyUsedException, CannotAddCategoryException;
-}
diff --git a/src/org/mxchange/jshopcore/model/category/CategorySessionBeanRemote.java b/src/org/mxchange/jshopcore/model/category/CategorySessionBeanRemote.java
deleted file mode 100644 (file)
index 6b08604..0000000
+++ /dev/null
@@ -1,37 +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.category;
-
-import java.io.Serializable;
-import java.util.List;
-import javax.ejb.Remote;
-
-/**
- * A remote-call interface for the shop
- * <p>
- * @author Roland Haeder<roland@mxchange.org>
- */
-@Remote
-public interface CategorySessionBeanRemote extends Serializable {
-
-       /**
-        * Some "getter" for a linked list of all categories
-        * <p>
-        * @return All categories
-        */
-       List<Category> getAllCategories ();
-}
diff --git a/src/org/mxchange/jshopcore/model/customer/CustomerSessionBeanRemote.java b/src/org/mxchange/jshopcore/model/customer/CustomerSessionBeanRemote.java
deleted file mode 100644 (file)
index 3a63e60..0000000
+++ /dev/null
@@ -1,62 +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.customer;
-
-import java.io.Serializable;
-import javax.ejb.Remote;
-import org.mxchange.jshopcore.exceptions.CustomerAlreadyRegisteredException;
-
-/**
- * An interface for customer beans
- * <p>
- * @author Roland Haeder<roland@mxchange.org>
- */
-@Remote
-public interface CustomerSessionBeanRemote extends Serializable {
-
-       /**
-        * Fills given customer instance with all available data
-        * <p>
-        * @param customer Initial Customer instance
-        * <p>
-        * @return Prepared Customer instance
-        */
-       Customer fillCustomerData (final Customer customer);
-
-       /**
-        * Checks if the the given customer instance is already registered
-        * <p>
-        * @param customer Customer instance
-        * <p>
-        * @return Whether the customer is already registered
-        */
-       boolean isReqistered (final Customer customer);
-
-       /**
-        * Registers the customer and creates a customer number after succesful
-        * persisting.
-        * <p>
-        * @param customer Initial customer instance
-        * <p>
-        * @return Prepared Customer instance
-        * <p>
-        * @throws
-        * org.mxchange.jshopcore.exceptions.CustomerAlreadyRegisteredException If
-        * the customer is already registered.
-        */
-       Customer registerCustomer (final Customer customer) throws CustomerAlreadyRegisteredException;
-}
diff --git a/src/org/mxchange/jshopcore/model/product/AdminProductSessionBeanRemote.java b/src/org/mxchange/jshopcore/model/product/AdminProductSessionBeanRemote.java
deleted file mode 100644 (file)
index 4c3d83d..0000000
+++ /dev/null
@@ -1,54 +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.product;
-
-import java.io.Serializable;
-import java.util.List;
-import javax.ejb.Remote;
-import org.mxchange.jshopcore.exceptions.CannotAddProductException;
-import org.mxchange.jshopcore.exceptions.ProductTitleAlreadyUsedException;
-
-/**
- * Product interface for "ADMIN" role
- * <p>
- * @author Roland Haeder<roland@mxchange.org>
- */
-@Remote
-public interface AdminProductSessionBeanRemote extends Serializable {
-
-       /**
-        * Some "getter" for a linked list of all products
-        * <p>
-        * @return All products
-        */
-       List<Product> getAllProducts ();
-
-       /**
-        * Adds given product data from request to database
-        * <p>
-        * @param product Product instance
-        * <p>
-        * @return Updated product instance
-        * <p>
-        * @throws
-        * org.mxchange.jshopcore.exceptions.ProductTitleAlreadyUsedException If the
-        * given product title is already used
-        * @throws org.mxchange.jshopcore.exceptions.CannotAddProductException If
-        * something unexpected happened
-        */
-       Product doAdminAddProduct (final Product product) throws ProductTitleAlreadyUsedException, CannotAddProductException;
-}
diff --git a/src/org/mxchange/jshopcore/model/product/ProductSessionBeanRemote.java b/src/org/mxchange/jshopcore/model/product/ProductSessionBeanRemote.java
deleted file mode 100644 (file)
index a7922f5..0000000
+++ /dev/null
@@ -1,37 +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.product;
-
-import java.io.Serializable;
-import java.util.List;
-import javax.ejb.Remote;
-
-/**
- * An interface for non-admin purposes
- * <p>
- * @author Roland Haeder<roland@mxchange.org>
- */
-@Remote
-public interface ProductSessionBeanRemote extends Serializable {
-
-       /**
-        * Some "getter" for a linked list of only available products
-        * <p>
-        * @return Only available products
-        */
-       List<Product> getAvailableProducts ();
-}
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);
-}
diff --git a/src/org/mxchange/jshopcore/model/receipt/WrapableReceipt.java b/src/org/mxchange/jshopcore/model/receipt/WrapableReceipt.java
deleted file mode 100644 (file)
index f619a09..0000000
+++ /dev/null
@@ -1,27 +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;
-
-/**
- * A receipt wrapper interface.
- * <p>
- * @author Roland Haeder<roland@mxchange.org>
- */
-public interface WrapableReceipt extends Serializable {
-}