Class InvoiceArchiveReadService

Class InvoiceListArchiveReadService

InvoiceArchiveReadService implements InvoiceArchiveReadServiceInterface

Methods summary

public __construct( InvoiceListGeneratorInterface $invoiceListGenerator, InvoiceServiceSettingsInterface $invoiceServiceSettings )

InvoiceListArchiveReadService constructor.

public getInvoiceListByConditions( array $conditions = [], IntType $startIndex = null, IntType $maxCount = null, StringType $orderBy = null ) : InvoiceListItemCollection

Returns an invoice list item collection by the given conditions.

public getInvoiceFileDownloadInfoByInvoiceId( IdType $invoiceId ) : FileDownloadInformation

Returns the invoice file download information.

public getInvoiceListItemById( IdType $invoiceId ) : InvoiceListItem

Returns the invoice to the given id

public filterInvoiceList( array $filterParameters, IntType $startIndex = null, IntType $maxCount = null, StringType $orderBy = null ) : InvoiceListItemCollection

Filter the invoice records with specific conditions.

public filterInvoiceListCount( array $filterParameters ) : integer

Get the filtered invoices count.

Properties summary