Class InvoiceArchiveWriteService
Class InvoiceArchiveWriteService
- InvoiceArchiveWriteService implements InvoiceArchiveWriteServiceInterface
Package: Invoice
Category: System
Located at Services/Core/Invoice/InvoiceArchiveWriteService.inc.php
Category: System
Located at Services/Core/Invoice/InvoiceArchiveWriteService.inc.php
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.