-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCustomer.cpp
More file actions
51 lines (33 loc) · 1.32 KB
/
Copy pathCustomer.cpp
File metadata and controls
51 lines (33 loc) · 1.32 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
#include "Customer.h"
using namespace std;
Customer::Customer(){
this->userName = "";
this->password = "";
this->firstName = "";
this->lastName = "";
this->email = "";
this->phoneNum = 0;
this->uniqueID = 0;
}
Customer::Customer(string user, string first, string last, string pass, string emailAddr, long int phoneNumber){
this->userName = user;
this->password = pass;
this->firstName = first;
this->lastName = last;
this->email = emailAddr;
this->phoneNum = phoneNumber;
}
void Customer::setUserName(string uName){this->userName = uName;}
void Customer::setPassword(string pass){this->password = pass;}
void Customer::setFirstName(string fName){this->firstName = fName;}
void Customer::setLastName(string lName){this->lastName = lName;}
void Customer::setEmail(string emailAddr){this->email = emailAddr;}
void Customer::setPhoneNum(long int phoneNumber){this->phoneNum = phoneNumber;}
void Customer::setUniqueID(int id){this->uniqueID = id;}
string Customer::getUserName(){ return this->userName;}
string Customer::getPassword(){return this->password;}
string Customer::getFirstName(){return this->firstName;}
string Customer::getLastName(){return this->lastName;}
string Customer::getEmail(){return this->email;}
long int Customer::getPhoneNum(){return this->phoneNum;}
int Customer::getUniqueID(){return this->uniqueID;}