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#
| Constant | Value | Description |
|---|---|---|
STATUS_DETAIL | 'DETAIL' | |
STATUS_GROUP | 'GROUP' | |
STATUS_INFORMATION | 'INFORMATION' |
Properties#
| Property | Type | Description |
|---|---|---|
$deliveryDate readonly | ?Date | |
$includedProducts readonly | list<IncludedProduct> | |
$lineStatusReasonCode readonly | ?string | |
$shipTo readonly | ?ExtendedParty |
Methods#
| Method | Description |
|---|---|
->__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 = [],
)| Parameter | Type | Description |
|---|---|---|
$lineStatusReasonCode | ?string = null | |
$shipTo | ?ExtendedParty = null | |
$deliveryDate | ?Date = null | |
$includedProducts | list<IncludedProduct> = [] |
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