Zum Inhalt springen

API reference / Quittio \ Core \ Data \ Delivery

Delivery

final readonly class in quittio/core · uses Immutable

Quittio\Core\Data\Delivery\Delivery · Source

Delivery information (BG-13).

Properties#

PropertyTypeDescription
$actualDeliveryDate readonly?Date
$address readonly?Address
$locationId readonly?Identifier
$recipientName readonly?string

Methods#

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

__construct()#

public function __construct(
    ?string $recipientName = null,
    ?Identifier $locationId = null,
    ?Date $actualDeliveryDate = null,
    ?Address $address = null,
)
ParameterTypeDescription
$recipientName?string = null
$locationId?Identifier = null
$actualDeliveryDate?Date = null
$address?Address = null

with()#

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

Returns a copy with the given properties replaced.

ParameterTypeDescription
$changesarray<string, mixed>
Returns
static

Die Open-Core-Pakete stehen unter der MIT-Lizenz. Die rechtlichen Formulierungen der Länderpakete sind mit einer Steuerberatung abzustimmen.