-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathClient.cpp
More file actions
66 lines (56 loc) · 1.09 KB
/
Client.cpp
File metadata and controls
66 lines (56 loc) · 1.09 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
58
59
60
61
62
63
64
65
66
#include "pch.h"
#include "Client.h"
//Client::Client()
//{
//}
//
//
//Client::~Client()
//{
//}
// GET METHODS
string Client::getName() {
return this->nome;
}
string Client::getVATnumber() {
return this->nif;
}
string Client::getFamilySize() {
return this->num_agregado;
}
Adress Client::getAddress() {
return this->morada;
}
string Client::getPacketList() {
return this->viagens_feitas;
}
string Client::getTotalPurchases() {
return this->viagens_feitas;
}
// SET METHODS
void Client::setName(string a){
this->nome = a;
}
void Client::setVATnumber(string b){
this->nif = b;
}
void Client::setFamilySize(string c) {
this->num_agregado = c;
}
void Client::setAddress(Adress d){
this->morada = d;
}
void Client::setPacketList(string e) {
this->viagens_feitas = e;
}
void Client::setTotalPurchases(string f) {
this->total_compras = f;
}
void Client::showClient() {
cout << nome << endl;
cout << nif << endl;
cout << num_agregado << endl;
cout << morada << endl;
cout << viagens_feitas << endl;
cout << total_compras << endl;
}