/**
  * Constructor
  *
  * @param Nominal $drAc Account to debit
  * @param Nominal $crAc Account to credit
  * @param Currency $amount Transaction amount
  * @param StringType $note Defaults to '' if not set
  * @param \DateTime $date Defaults to today if not set
  */
 public function __construct(Nominal $drAc, Nominal $crAc, Currency $amount, StringType $note = null, \DateTime $date = null)
 {
     parent::__construct($date, $note);
     $this->addEntry(new Entry($drAc, $amount, AccountType::DR()));
     $this->addEntry(new Entry($crAc, $amount, AccountType::CR()));
 }