API reference / Quittio \ Core \ Contracts
ProvidesInvoiceLine
interface in quittio/core
Quittio\Core\Contracts\ProvidesInvoiceLine · Source
Implemented by application models that describe an invoice line (e.g. an order item).
Methods#
| Method | Description |
|---|---|
->fillLine() | Fills $line with the data of the model (name, quantity, price, VAT …). |
fillLine()#
public function fillLine(LineBuilder $line): voidFills $line with the data of the model (name, quantity, price, VAT …).
| Parameter | Type | Description |
|---|---|---|
$line | LineBuilder |