Skip to content

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#

PropertyTypeDescription
$additionalPaymentInstructions readonlylist<PaymentInstructions>
$additionalReferences readonlylist<DocumentReference>
$deliveryTermsCode readonly?string
$installments readonlylist<Installment>
$invoicee readonly?ExtendedParty
$invoicer readonly?ExtendedParty
$shipFrom readonly?ExtendedParty
$ultimateCustomer readonly?ExtendedParty

Methods#

MethodDescription
->__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 = [],
)
ParameterTypeDescription
$invoicer?ExtendedParty = null
$invoicee?ExtendedParty = null
$ultimateCustomer?ExtendedParty = null
$shipFrom?ExtendedParty = null
$deliveryTermsCode?string = null
$additionalReferenceslist<DocumentReference> = []
$installmentslist<Installment> = []
$additionalPaymentInstructionslist<PaymentInstructions> = []

isEmpty()#

public function isEmpty(): bool
Returns
bool

with()#

public function with(array<string, mixed> $changes): static

Returns a copy with the given properties replaced.

ParameterTypeDescription
$changesarray<string, mixed>
Returns
static

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