C# Class Domain.CheckingAccount

Inheritance: IAccount
Mostra file Open project: mesan/workmanship-oo-dotnet

Public Methods

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

Method Details

CheckingAccount() public method

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

GetAccountNumber() public method

public GetAccountNumber ( ) : long
return long

GetAccountOwner() public method

public GetAccountOwner ( ) : Customer
return Customer

GetAmount() public method

public GetAmount ( ) : double
return double

GetCreditLimit() public method

public GetCreditLimit ( ) : Double
return Double

SetAmount() public method

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