2 * Copyright (C) 2015 Roland Haeder
4 * This program is free software: you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation, either version 3 of the License, or
7 * (at your option) any later version.
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
14 * You should have received a copy of the GNU General Public License
15 * along with this program. If not, see <http://www.gnu.org/licenses/>.
17 package org.mxchange.jshopcore.model.customer;
19 import java.sql.Timestamp;
20 import org.mxchange.jcore.model.contact.Contact;
23 * A customer interface
25 * @author Roland Haeder<roland@mxchange.org>
27 public interface Customer extends Contact {
30 * Setter for id number from "contact" table
32 * @param contactId Contact id number
34 public void setContactId (final long contactId);
37 * Getter for id number from "contact" table
39 * @return Contact id number
41 public long getContactId();
44 * Getter for confirmation key
46 * @return Confirmation key
48 public String getCustomerConfirmKey ();
51 * Setter for confirmation key
53 * @param customerConfirmKey Confirmation key
55 public void setCustomerConfirmKey (final String customerConfirmKey);
58 * Getter for "created" timestamp
60 * @return "created" timestamp
62 public Timestamp getCustomerCreated ();
65 * Setter for "created" timestamp
67 * @param customerCreated "created" timestamp
69 public void setCustomerCreated (final Timestamp customerCreated);
72 * Getter for "locked" timestamp
74 * @return "locked" timestamp
76 public Timestamp getCustomerLocked ();
79 * Getter for "locked" timestamp
81 * @param customerLocked "locked" timestamp
83 public void setCustomerLocked (final Timestamp customerLocked);
86 * Setter for customer number
88 * @param customerNumber Customer number
90 public void setCustomerNumber (final String customerNumber);
93 * Getter for customer number
95 * @return Customer number
97 public String getCustomerNumber ();
100 * Getter for password hash
102 * @return Password hash
104 public String getCustomerPasswordHash ();
107 * Setter for password hash
109 * @param customerPasswordHash Password hash
111 public void setCustomerPasswordHash (final String customerPasswordHash);
114 * Getter for account status
116 * @return Account status
118 public String getCustomerStatus ();
121 * Setter for account status
123 * @param customerStatus Account status
125 public void setCustomerStatus (final String customerStatus);
128 * Getter for customer id number
130 * @return Customer id number
132 public Long getCustomerId ();
135 * Settte for customer id number
137 * @param customerId Customer id number
139 public void setCustomerId (final Long customerId);