public function invoices(array $options = [])
    {
        if (!isset($this->invoices)) {
            $options['customer_uuid'] = $this->uuid;
            $this->invoices = CustomerInvoices::all($options)->invoices;
        }
        return $this->invoices;
    }
public function invoices(array $options = [])
    {
        if (!isset($this->invoices)) {
            $options['customer_uuid'] = $this->uuid;
            $this->invoices = CustomerInvoices::all($options)->invoices;
        }
        return $this->invoices;
    }
public function invoices ( array $ options = [ ] ) { if ( ! isset ( $ this -> invoices ) ) { $ options [ 'customer_uuid' ] = $ this -> uuid ; $ this -> invoices = CustomerInvoices :: all ( $ options ) -> invoices ; } return $ this -> invoices ; }
Find customer's invoices
@param  array  $options
@return \Doctrine\Common\Collections\ArrayCollection | Customer
@deprecated Use Import\CustomerInvoices.
Find customer s invoices