Creates an instance of CurrentAccount.
The account number
The account holder
The balance of the bank account.
Credit Line of the account
The holder of the bank account.
The account number of the bank account.
Gets the balance of the bank account.
Get Credit Line of the account
Set Credit Line for the account
Amount for Credit Line
Calculates bank account interest at a rate of 1.5% on the balance if the latter is positive, otherwise a debt of 4%.
Deposits an amount to the bank account.
The amount to be deposited.
Perform withdrawal on the account
The amount to withdraw
Generated using TypeDoc
Class representing a CurrentAccount