API reference / Quittio \ Core \ Builder \ Concerns
BuildsExtensions
trait in quittio/core
Quittio\Core\Builder\Concerns\BuildsExtensions · Source
Data of the EXTENDED profile and of the XRechnung extension.
Part of InvoiceBuilder, which holds the state; use the builder, not the trait.
Methods#
| Method | Description |
|---|---|
->extended() | Data of the profile EXTENDED of ZUGFeRD/Factur-X (further parties, delivery terms, instalments …); other profiles do not write it. |
->xrechnungExtension() | Data of the XRechnung extension (e.g. third party payments), written only with the profile xrechnung-extension. |
extended()#
public function extended(ExtendedData $extended): staticData of the profile EXTENDED of ZUGFeRD/Factur-X (further parties, delivery terms, instalments …); other profiles do not write it.
| Parameter | Type | Description |
|---|---|---|
$extended | ExtendedData |
- Returns
static
xrechnungExtension()#
public function xrechnungExtension(XRechnungExtensionData $extension): staticData of the XRechnung extension (e.g. third party payments), written only with the profile xrechnung-extension.
| Parameter | Type | Description |
|---|---|---|
$extension | XRechnungExtensionData |
- Returns
static