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; }
public static void Do(double amount, Account acc, Account to_acc) { }