-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathAccount.java
More file actions
69 lines (54 loc) · 1.33 KB
/
Copy pathAccount.java
File metadata and controls
69 lines (54 loc) · 1.33 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
67
68
69
/*
* This is the bank account of the user
*/
public class Account {
private float balance;
private int accountNumber;
private int depositNum;
private String name;
private Card card;
private ContactInformation contactInfo;
private int dailyWithdrawLimit;
public int getAccountNumber() {
return accountNumber;
}
public float getBalance() {
return balance;
}
public Card getCard() {
return card;
}
public int getDepositNum() {
return depositNum;
}
public String getName() {
return name;
}
public void setAccountNumber(int accountNumber) {
this.accountNumber = accountNumber;
}
public void setBalance(float balance) {
this.balance = balance;
}
public void setCard(Card card2) {
this.card = card2;
}
public void setDepositNum(int depositNum) {
this.depositNum = depositNum;
}
public void setName(String name) {
this.name = name;
}
public void setDailyWithdrawLimit(int limit) {
this.dailyWithdrawLimit = limit;
}
public int getRemainingDailyWithdrawLimit() {
return dailyWithdrawLimit;
}
public ContactInformation getContactInfo() {
return contactInfo;
}
public void setContactInfo(ContactInformation contactInfo) {
this.contactInfo = contactInfo;
}
}