From 799f8da83d0d008b6c6e154dacf106591f9b6448 Mon Sep 17 00:00:00 2001
From: Roland Haeder <roland@mxchange.org>
Date: Mon, 14 Sep 2015 11:36:03 +0200
Subject: [PATCH] =?utf8?q?Added=20equals()=20and=20hashCode()=20as=20they?=
 =?utf8?q?=20both=20must=20be=20implemented.=20Signed-off-by:Roland=20H?=
 =?utf8?q?=C3=A4der=20<roland@mxchange.org>?=
MIME-Version: 1.0
Content-Type: text/plain; charset=utf8
Content-Transfer-Encoding: 8bit

---
 .../jshopcore/model/basket/AddableBasketItem.java  | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/src/org/mxchange/jshopcore/model/basket/AddableBasketItem.java b/src/org/mxchange/jshopcore/model/basket/AddableBasketItem.java
index 163eefd..7ed0335 100644
--- a/src/org/mxchange/jshopcore/model/basket/AddableBasketItem.java
+++ b/src/org/mxchange/jshopcore/model/basket/AddableBasketItem.java
@@ -102,4 +102,18 @@ public interface AddableBasketItem extends Serializable {
 	 * @return Whether a Product instance is set
 	 */
 	public boolean isProductType ();
+
+	/**
+	 * Check equality on item instance
+	 *
+	 * @param object Other object to check
+	 */
+	@Override
+	public boolean equals (final Object object);
+
+	/**
+	 * Hash-code calculattion
+	 */
+	@Override
+	public int hashCode ();
 }
-- 
2.39.5