Example #1
0
 public Transaction(Account account, double amount, string type, Account to_account, string to_type)
 {
     this.Account = account;
     this.Amount = amount;
     this.Type = type;
     this.targetAccount = to_account;
     this.targetType = to_type;
 }
 public TransferTransaction(Account account, double amount, string type, Account to_account, string to_type )
     : base(account, amount, type)
 {
     this.toAccount = to_account;
     this.toType = to_type;
 }
Example #3
0
 public static void Do(double amount, Account acc, Account to_acc)
 {
 }