public BuyOrderPlaced( AccountId anAccountId, OrderId anOrderId, Quote aQuote, int aQuantityOfSharesOrdered, Date aPlacedOnDate, Money aCost, Money anOrderFee) { super(); this.setAccountId(anAccountId); this.setCost(aCost); this.setOccurredOn(new Date()); this.setOrderFee(anOrderFee); this.setOrderId(anOrderId); this.setPlacedOnDate(aPlacedOnDate); this.setQuantityOfSharesOrdered(aQuantityOfSharesOrdered); this.setQuote(aQuote); }