C# Class BankSystem.Account

Inheritance: IAccount, IDepositable
Afficher le fichier Open project: Y-LyN-10/Software-University-Courses Class Usage Examples

Protected Properties

Свойство Type Description
balance decimal
customer CustromerType
interestRate decimal

Méthodes publiques

Méthode Description
DepositMoney ( decimal money ) : void
InterestAmount ( int months ) : decimal
WithdrawMoney ( decimal money ) : void

Méthodes protégées

Méthode Description
Account ( )
Account ( CustromerType customer, decimal balance, decimal interestRate )

Method Details

Account() protected méthode

protected Account ( )

Account() protected méthode

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

DepositMoney() public méthode

public DepositMoney ( decimal money ) : void
money decimal
Résultat void

InterestAmount() public méthode

public InterestAmount ( int months ) : decimal
months int
Résultat decimal

WithdrawMoney() public méthode

public WithdrawMoney ( decimal money ) : void
money decimal
Résultat void

Property Details

balance protected_oe property

protected decimal balance
Résultat decimal

customer protected_oe property

protected CustromerType customer
Résultat CustromerType

interestRate protected_oe property

protected decimal interestRate
Résultat decimal