InvoiceStorageInterface

Extends

Interface InvoiceFileEntitlerInterface

category

System

package

Invoice

subpackage

Interfaces

Methods

Adds a new invoice in the database.

add(\InvoiceInformation $invoiceInfo) : integer

Arguments

$invoiceInfo

\InvoiceInformation

Entity with invoice information.

Response

integer

The invoice_id of the new database entry.

Removes an invoice entry from the database.

deleteByInvoiceId(\IdType $invoiceId) : $this|\InvoiceStorageInterface

Arguments

$invoiceId

\IdType

invoice_id of entry to be removed.

Response

$this|\InvoiceStorageInterface

Same instance for chained method calls.