Skip to content

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#

MethodDescription
->toInvoiceData()The complete invoice data of the model, e.g. built with InvoiceBuilder and ->build().

toInvoiceData()#

public function toInvoiceData(): InvoiceData

The complete invoice data of the model, e.g. built with InvoiceBuilder and ->build().

Returns
InvoiceData

The open core packages are MIT licensed. The legal wording of the country packs must be confirmed by a tax adviser.