-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCustomer.cpp
More file actions
57 lines (42 loc) · 1.24 KB
/
Customer.cpp
File metadata and controls
57 lines (42 loc) · 1.24 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
52
53
54
55
56
57
//
// Created by Ziad on 4/24/2022.
//
#include "Customer.h"
QString Customer::getId() {
return id;
}
void Customer::setId(QString id) {
Customer::id = id;
}
QString Customer::getPhoneNumber() {
return phone_number;
}
void Customer::setPhoneNumber(QString phoneNumber) {
phone_number = phoneNumber;
}
QString Customer::getAddress() {
return address;
}
void Customer::setAddress( QString address) {
Customer::address = address;
}
QString Customer::getEmail() {
return email;
}
void Customer::setEmail( QString email) {
Customer::email = email;
}
Customer::Customer(QString id, QString phoneNumber,QString password ,QString address, QString email, QString name) : id(id), phone_number(phoneNumber), address(address),
email(email), name(name),password(password) ,customer_cart() {}
QString Customer::getName() {
return name;
}
void Customer::setName( QString name) {
Customer::name = name;
}
QString Customer::getPassword() {
return password;
}
void Customer::setPassword(QString password) {
Customer::password = password;
}