Invoice/Model/InvoiceSubjectTrait.php
protected function initializeInvoiceSubject()
    {
        $this->invoiceTotal = 0;
        $this->creditTotal = 0;
        $this->invoiceState = InvoiceStates::STATE_NEW;
        $this->invoices = new ArrayCollection();
    }
protected function initializeInvoiceSubject()
    {
        $this->invoiceTotal = 0;
        $this->creditTotal = 0;
        $this->invoiceState = InvoiceStates::STATE_NEW;
        $this->invoices = new ArrayCollection();
    }
Initializes the invoices.