API reference / Quittio \ Core \ Contracts
ProvidesInvoiceData
interface in quittio/core
Quittio\Core\Contracts\ProvidesInvoiceData · Source
Implemented by application models that can be turned into an invoice (e.g. an order).
Methods#
| Method | Description |
|---|---|
->toInvoiceData() | The complete invoice data of the model, e.g. built with InvoiceBuilder and ->build(). |
toInvoiceData()#
public function toInvoiceData(): InvoiceDataThe complete invoice data of the model, e.g. built with InvoiceBuilder and ->build().
- Returns
InvoiceData