]> git.mxchange.org Git - jcustomer-core.git/blob - src/org/mxchange/jshopcore/model/customer/Customer.java
792d639e37f24be2d0b21d409cf5428bcab95a51
[jcustomer-core.git] / src / org / mxchange / jshopcore / model / customer / Customer.java
1 /*
2  * Copyright (C) 2015 Roland Haeder
3  *
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.
8  *
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.
13  *
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/>.
16  */
17 package org.mxchange.jshopcore.model.customer;
18
19 import java.sql.Timestamp;
20 import org.mxchange.jcore.model.contact.Contact;
21
22 /**
23  * A customer interface
24  *
25  * @author Roland Haeder<roland@mxchange.org>
26  */
27 public interface Customer extends Contact {
28
29         /**
30          * Setter for id number from "contact" table
31          *
32          * @param contactId Contact id number
33          */
34         public void setContactId (final long contactId);
35
36         /**
37          * Getter for id number from "contact" table
38          *
39          * @return Contact id number
40          */
41         public long getContactId();
42
43         /**
44          * Getter for confirmation key
45          *
46          * @return Confirmation key
47          */
48         public String getCustomerConfirmKey ();
49
50         /**
51          * Setter for confirmation key
52          *
53          * @param customerConfirmKey Confirmation key
54          */
55         public void setCustomerConfirmKey (final String customerConfirmKey);
56
57         /**
58          * Getter for "created" timestamp
59          *
60          * @return "created" timestamp
61          */
62         public Timestamp getCustomerCreated ();
63
64         /**
65          * Setter for "created" timestamp
66          *
67          * @param customerCreated "created" timestamp
68          */
69         public void setCustomerCreated (final Timestamp customerCreated);
70
71         /**
72          * Getter for "locked" timestamp
73          *
74          * @return "locked" timestamp
75          */
76         public Timestamp getCustomerLocked ();
77
78         /**
79          * Getter for "locked" timestamp
80          *
81          * @param customerLocked "locked" timestamp
82          */
83         public void setCustomerLocked (final Timestamp customerLocked);
84
85         /**
86          * Setter for customer number
87          *
88          * @param customerNumber Customer number
89          */
90         public void setCustomerNumber (final String customerNumber);
91
92         /**
93          * Getter for customer number
94          *
95          * @return Customer number
96          */
97         public String getCustomerNumber ();
98
99         /**
100          * Getter for password hash
101          *
102          * @return Password hash
103          */
104         public String getCustomerPasswordHash ();
105
106         /**
107          * Setter for password hash
108          *
109          * @param customerPasswordHash Password hash
110          */
111         public void setCustomerPasswordHash (final String customerPasswordHash);
112
113         /**
114          * Getter for account status
115          *
116          * @return Account status
117          */
118         public String getCustomerStatus ();
119
120         /**
121          * Setter for account status
122          *
123          * @param customerStatus Account status
124          */
125         public void setCustomerStatus (final String customerStatus);
126 }