aboutsummaryrefslogtreecommitdiff
path: root/CPP/BABS/BankAccount.h
blob: 7e85b473d355c5a31faabd7c1d7ccbd0554508a5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#ifndef TEST_BANKACCOUNT
#define TEST_BANKACCOUNT
#include <string>

class BankAccount {
    int id, balance;
    bool closed;
    public:
        BankAccount();
        BankAccount(int);
        int getId();
        int getBalance();
        void deposit(int);
        int withdraw(int);
        std::string toString();
        void close();
};

#endif