aboutsummaryrefslogtreecommitdiff
path: root/CPP/BABS/BankAccount.h
diff options
context:
space:
mode:
authorSyndamia <kamen.d.mladenov@protonmail.com>2020-06-27 14:11:01 +0300
committerSyndamia <kamen.d.mladenov@protonmail.com>2020-06-27 14:11:01 +0300
commitf2d1216153123a3fbee6af8e7a0ad06a3577f216 (patch)
tree2c5904a420306a4c742185557f10f158c1d39a1f /CPP/BABS/BankAccount.h
parente4bc857f1f7edf677c3ffec8021db57043db350d (diff)
downloadSelf-learning-f2d1216153123a3fbee6af8e7a0ad06a3577f216.tar
Self-learning-f2d1216153123a3fbee6af8e7a0ad06a3577f216.tar.gz
Self-learning-f2d1216153123a3fbee6af8e7a0ad06a3577f216.zip
Finished implementation of closing and opening bank accounts.
Diffstat (limited to 'CPP/BABS/BankAccount.h')
-rw-r--r--CPP/BABS/BankAccount.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/CPP/BABS/BankAccount.h b/CPP/BABS/BankAccount.h
index 7e85b47..fbf808f 100644
--- a/CPP/BABS/BankAccount.h
+++ b/CPP/BABS/BankAccount.h
@@ -8,12 +8,16 @@ class BankAccount {
public:
BankAccount();
BankAccount(int);
+
int getId();
int getBalance();
+ bool getCloseStatus();
+
void deposit(int);
int withdraw(int);
std::string toString();
void close();
+ void reopen();
};
#endif \ No newline at end of file