C# Class Domain.SavingsAccount

Inheritance: IAccount
Afficher le fichier Open project: mesan/workmanship-oo-dotnet Class Usage Examples

Méthodes publiques

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

Method Details

GetAccountNumber() public méthode

public GetAccountNumber ( ) : long
Résultat long

GetAccountOwner() public méthode

public GetAccountOwner ( ) : Customer
Résultat Customer

GetAmount() public méthode

public GetAmount ( ) : Double
Résultat Double

SavingsAccount() public méthode

public SavingsAccount ( long accountNumber, double initialAmount, Customer accountOwner ) : System
accountNumber long
initialAmount double
accountOwner Customer
Résultat System

SetAmount() public méthode

public SetAmount ( double amount ) : void
amount double
Résultat void