Свойство | Тип | Описание | |
---|---|---|---|
balance | decimal | ||
customer | CustromerType | ||
interestRate | decimal |
Метод | Описание | |
---|---|---|
DepositMoney ( decimal money ) : void | ||
InterestAmount ( int months ) : decimal | ||
WithdrawMoney ( decimal money ) : void |
Метод | Описание | |
---|---|---|
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 | |
Результат | void |
public InterestAmount ( int months ) : decimal | ||
months | int | |
Результат | decimal |
public WithdrawMoney ( decimal money ) : void | ||
money | decimal | |
Результат | void |