API reference / Quittio \ Core \ Data \ Extensions
ExtendedData
final readonly class in quittio/core · uses Immutable
Quittio\Core\Data\Extensions\ExtendedData · Source
Document level data that exists only in the Factur-X/ZUGFeRD EXTENDED profile. The selection covers the practically relevant elements.
Properties#
| Property | Type | Description |
|---|---|---|
$additionalPaymentInstructions readonly | list<PaymentInstructions> | |
$additionalReferences readonly | list<DocumentReference> | |
$deliveryTermsCode readonly | ?string | |
$installments readonly | list<Installment> | |
$invoicee readonly | ?ExtendedParty | |
$invoicer readonly | ?ExtendedParty | |
$shipFrom readonly | ?ExtendedParty | |
$ultimateCustomer readonly | ?ExtendedParty |
Methods#
| Method | Description |
|---|---|
->__construct() | |
->isEmpty() | |
->with() | Returns a copy with the given properties replaced. |
__construct()#
public function __construct(
?ExtendedParty $invoicer = null,
?ExtendedParty $invoicee = null,
?ExtendedParty $ultimateCustomer = null,
?ExtendedParty $shipFrom = null,
?string $deliveryTermsCode = null,
list<DocumentReference> $additionalReferences = [],
list<Installment> $installments = [],
list<PaymentInstructions> $additionalPaymentInstructions = [],
)| Parameter | Type | Description |
|---|---|---|
$invoicer | ?ExtendedParty = null | |
$invoicee | ?ExtendedParty = null | |
$ultimateCustomer | ?ExtendedParty = null | |
$shipFrom | ?ExtendedParty = null | |
$deliveryTermsCode | ?string = null | |
$additionalReferences | list<DocumentReference> = [] | |
$installments | list<Installment> = [] | |
$additionalPaymentInstructions | list<PaymentInstructions> = [] |
isEmpty()#
public function isEmpty(): bool- Returns
bool
with()#
public function with(array<string, mixed> $changes): staticReturns a copy with the given properties replaced.
| Parameter | Type | Description |
|---|---|---|
$changes | array<string, mixed> |
- Returns
static