C# Class Domain.SavingsAccount

Inheritance: IAccount
显示文件 Open project: mesan/workmanship-oo-dotnet Class Usage Examples

Public Methods

Method Description
GetAccountNumber ( ) : long
GetAccountOwner ( ) : Customer
GetAmount ( ) : Double
SavingsAccount ( long accountNumber, double initialAmount, Customer accountOwner ) : System
SetAmount ( double amount ) : void

Method Details

GetAccountNumber() public method

public GetAccountNumber ( ) : long
return long

GetAccountOwner() public method

public GetAccountOwner ( ) : Customer
return Customer

GetAmount() public method

public GetAmount ( ) : Double
return Double

SavingsAccount() public method

public SavingsAccount ( long accountNumber, double initialAmount, Customer accountOwner ) : System
accountNumber long
initialAmount double
accountOwner Customer
return System

SetAmount() public method

public SetAmount ( double amount ) : void
amount double
return void