Signed-off-by:Roland Häder <roland@mxchange.org>
* @author Roland Haeder<roland@mxchange.org>
*/
public interface Customer extends Contact {
+
+ /**
+ * Getter for customer number
+ *
+ * @return Customer number
+ */
+ public String getCustomerNumber ();
}
* @author Roland Haeder<roland@mxchange.org>
*/
public class ShopCustomer extends BaseContact implements Customer {
+ /**
+ * Customer number, this is different to the database entry id.
+ */
+ private String customerNumber;
+
/**
* Serial number
*/
private static final long serialVersionUID = 4_328_454_581_751L;
+
+ @Override
+ public String getCustomerNumber () {
+ return this.customerNumber;
+ }
}