Class InvoiceArchiveWriteService

Class InvoiceArchiveWriteService

InvoiceArchiveWriteService implements InvoiceArchiveWriteServiceInterface

Methods summary

public __construct( InvoiceListGeneratorInterface $invoiceListGenerator, InvoiceRepositoryInterface $invoiceRepository, InvoiceFileEntitlerInterface $fileEntitler, AbstractFileStorage $fileStorage )

InvoiceListArchiveWriteService constructor.

public importInvoiceFile( ExistingFile $invoiceFile, InvoiceInformation $invoiceInfo ) : integer

Imports the given invoice file and store their information in the database.

public deleteInvoiceById( IdType $invoiceId ) :

Removes an invoice from the database by the given invoice id.

Properties summary