-
Notifications
You must be signed in to change notification settings - Fork 0
/
customer.h
67 lines (49 loc) · 794 Bytes
/
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
#pragma once
using namespace std;
#include <string>
#include "account.h"
class customer
{
private:
string clientName;
int clientId;
int numOfAccounts;
string pin;
public:
customer();
customer(int id, string name);
~customer();
account accZero;
account accOne;
account accTwo;
account accThree;
account accFour;
//getter for client name
string getclientName()
{
return clientName;
}
//setter for client name
void setclientName(string name)
{
clientName = name;
}
//getter for client id
int getclientId()
{
return clientId;
}
//setter for client id
void setclientId(int id)
{
clientId = id;
}
//getter for client pin
string getPin() {
return pin;
}
//setter for client pin
void setPin(string clientPin) {
pin = clientPin;
}
};