C# Class BankSystem.Account

Inheritance: IAccount, IDepositable
Datei anzeigen Open project: Y-LyN-10/Software-University-Courses Class Usage Examples

Protected Properties

Property Type Description
balance decimal
customer CustromerType
interestRate decimal

Public Methods

Method Description
DepositMoney ( decimal money ) : void
InterestAmount ( int months ) : decimal
WithdrawMoney ( decimal money ) : void

Protected Methods

Method Description
Account ( )
Account ( CustromerType customer, decimal balance, decimal interestRate )

Method Details

Account() protected method

protected Account ( )

Account() protected method

protected Account ( CustromerType customer, decimal balance, decimal interestRate )
customer CustromerType
balance decimal
interestRate decimal

DepositMoney() public method

public DepositMoney ( decimal money ) : void
money decimal
return void

InterestAmount() public method

public InterestAmount ( int months ) : decimal
months int
return decimal

WithdrawMoney() public method

public WithdrawMoney ( decimal money ) : void
money decimal
return void

Property Details

balance protected_oe property

protected decimal balance
return decimal

customer protected_oe property

protected CustromerType customer
return CustromerType

interestRate protected_oe property

protected decimal interestRate
return decimal