C# Class Bank.DepositAccount

Inheritance: Account, IDepositable, IWithDrawable
Datei anzeigen Open project: nzhul/TelerikAcademy Class Usage Examples

Public Methods

Method Description
CalculateInterest ( int monthsCount ) : decimal
Deposit ( int deposit ) : void
DepositAccount ( Bank.Customer customer, decimal balance, decimal interest ) : System
Withdraw ( int withdraw ) : void

Method Details

CalculateInterest() public method

public CalculateInterest ( int monthsCount ) : decimal
monthsCount int
return decimal

Deposit() public method

public Deposit ( int deposit ) : void
deposit int
return void

DepositAccount() public method

public DepositAccount ( Bank.Customer customer, decimal balance, decimal interest ) : System
customer Bank.Customer
balance decimal
interest decimal
return System

Withdraw() public method

public Withdraw ( int withdraw ) : void
withdraw int
return void