-
Notifications
You must be signed in to change notification settings - Fork 0
/
customer.h
79 lines (71 loc) · 1.7 KB
/
customer.h
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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
#ifndef CUSTOMER_H
#define CUSTOMER_H
#include <QString>
class customer
{
QString company;
QString cui;
QString bank;
QString iban;
QString country;
QString phone;
QString email;
QString address;
public:
customer();
customer(const QString a, const QString b, const QString c, const QString d, const QString e, const QString f,
const QString g, const QString h) : company{a}, cui{b}, bank{c}, iban{d}, country{e}, phone{f},
email{g}, address{h} {};
//copy constructor
customer(const customer &other) : company{other.company}, cui{other.cui}, bank{other.bank}, iban{other.iban},
country{other.country}, phone{other.country}, email{other.email}, address{other.address}{};
QString getCompany() const{
return company;
}
QString getCui() const{
return cui;
}
QString getBank() const{
return bank;
}
QString getIban() const{
return iban;
}
QString getCountry() const{
return country;
}
QString getPhone() const{
return phone;
}
QString getEmail() const{
return email;
}
QString getAddress() const{
return address;
}
void setCompany(QString a){
this->company = a;
}
void setCui(QString b){
this->cui = b;
}
void setBank(QString c){
this->bank = c;
}
void setIban(QString d){
this->iban = d;
}
void setCountry(QString e){
this->country = e;
}
void setPhone(QString f){
this->phone = f;
}
void setEmail(QString g){
this->email = g;
}
void setAddress(QString h){
this->address = h;
}
};
#endif // CUSTOMER_H