InvoiceFileFinder

Implements \InvoiceFileFinderInterface

Class InvoiceFileFinder

category

System

package

Invoice

Methods

InvoiceFileFinder constructor.

__construct(\ExistingDirectory $storageDirectory) 

Arguments

$storageDirectory

\ExistingDirectory

Returns the invoice download file name by the given invoice id.

getFilenameByInvoiceId(\IdType $invoiceId) : string
throws

When no file was found by the given pattern.

Arguments

$invoiceId

\IdType

invoice_id of expected entry.

Response

string

Properties

storageDirectory

storageDirectory : string
var

Type(s)

string