C# 클래스 BankSystem.Account

상속: IAccount, IDepositable
파일 보기 프로젝트 열기: Y-LyN-10/Software-University-Courses 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
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 )

메소드 상세

Account() 보호된 메소드

protected Account ( )

Account() 보호된 메소드

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

DepositMoney() 공개 메소드

public DepositMoney ( decimal money ) : void
money decimal
리턴 void

InterestAmount() 공개 메소드

public InterestAmount ( int months ) : decimal
months int
리턴 decimal

WithdrawMoney() 공개 메소드

public WithdrawMoney ( decimal money ) : void
money decimal
리턴 void

프로퍼티 상세

balance 보호되어 있는 프로퍼티

protected decimal balance
리턴 decimal

customer 보호되어 있는 프로퍼티

protected CustromerType customer
리턴 CustromerType

interestRate 보호되어 있는 프로퍼티

protected decimal interestRate
리턴 decimal