Esempio n. 1
0
        public IDebit NewDebit(IAccount account, PositiveMoney amountToWithdraw, DateTime transactionDate)
        {
            var debit = new Debit(account, amountToWithdraw, transactionDate);

            return(debit);
        }
        public IDebit NewDebit(IAccount account, PositiveAmount amountToWithdraw)
        {
            var debit = new Debit(account, amountToWithdraw);

            return(debit);
        }