Method | Description | |
---|---|---|
BankAccountService ( IContextManager contextManager, ITransferMoneyService transferMoneyService ) : System | ||
CreateBankAccount ( string customer, string accountNumber ) : BankAccount | ||
DepositMoney ( System.Guid bankAccountId, double amount ) : void | ||
TransferMoney ( System.Guid sourceBankAccountId, System.Guid targetBankAccountId, double amount ) : void | ||
WithdrawMoney ( System.Guid bankAccountId, double amount ) : void |
public BankAccountService ( IContextManager contextManager, ITransferMoneyService transferMoneyService ) : System | ||
contextManager | IContextManager | |
transferMoneyService | ITransferMoneyService | |
return | System |
public CreateBankAccount ( string customer, string accountNumber ) : BankAccount | ||
customer | string | |
accountNumber | string | |
return | BankAccount |
public DepositMoney ( System.Guid bankAccountId, double amount ) : void | ||
bankAccountId | System.Guid | |
amount | double | |
return | void |
public TransferMoney ( System.Guid sourceBankAccountId, System.Guid targetBankAccountId, double amount ) : void | ||
sourceBankAccountId | System.Guid | |
targetBankAccountId | System.Guid | |
amount | double | |
return | void |
public WithdrawMoney ( System.Guid bankAccountId, double amount ) : void | ||
bankAccountId | System.Guid | |
amount | double | |
return | void |