Skip to content

API reference / Quittio \ Core \ Data \ Extensions

LineExtendedData

final readonly class in quittio/core · uses Immutable

Quittio\Core\Data\Extensions\LineExtendedData · Source

Line level data that exists only in the Factur-X/ZUGFeRD EXTENDED profile.

Constants#

ConstantValueDescription
STATUS_DETAIL'DETAIL'
STATUS_GROUP'GROUP'
STATUS_INFORMATION'INFORMATION'

Properties#

PropertyTypeDescription
$deliveryDate readonly?Date
$includedProducts readonlylist<IncludedProduct>
$lineStatusReasonCode readonly?string
$shipTo readonly?ExtendedParty

Methods#

MethodDescription
->__construct()
->with()Returns a copy with the given properties replaced.

__construct()#

public function __construct(
    ?string $lineStatusReasonCode = null,
    ?ExtendedParty $shipTo = null,
    ?Date $deliveryDate = null,
    list<IncludedProduct> $includedProducts = [],
)
ParameterTypeDescription
$lineStatusReasonCode?string = null
$shipTo?ExtendedParty = null
$deliveryDate?Date = null
$includedProductslist<IncludedProduct> = []

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.