Свойство | Type | Description | |
---|---|---|---|
balance | decimal | ||
customer | CustromerType | ||
interestRate | decimal |
Méthode | Description | |
---|---|---|
DepositMoney ( decimal money ) : void | ||
InterestAmount ( int months ) : decimal | ||
WithdrawMoney ( decimal money ) : void |
Méthode | Description | |
---|---|---|
Account ( ) | ||
Account ( CustromerType customer, decimal balance, decimal interestRate ) |
protected Account ( CustromerType customer, decimal balance, decimal interestRate ) | ||
customer | CustromerType | |
balance | decimal | |
interestRate | decimal |
public DepositMoney ( decimal money ) : void | ||
money | decimal | |
Résultat | void |
public InterestAmount ( int months ) : decimal | ||
months | int | |
Résultat | decimal |
public WithdrawMoney ( decimal money ) : void | ||
money | decimal | |
Résultat | void |