public Debit(DebitId DebitId, AccountId accountId, DateTime transactionDate, decimal value, string currency) { this.DebitId = DebitId; this.AccountId = accountId; this.TransactionDate = transactionDate; this.Amount = new PositiveMoney(value, new Currency(currency)); }
public Debit(DebitId id, AccountId accountId, PositiveMoney amount, DateTime transactionDate) { this.Id = id; this.AccountId = accountId; this.Amount = amount; this.TransactionDate = transactionDate; }
public Debit( DebitId debitId, AccountId accountId, PositiveMoney amountToWithdraw, DateTime transactionDate) { this.Id = debitId; this.AccountId = accountId; this.Amount = amountToWithdraw; this.TransactionDate = transactionDate; }