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#
| Property | Type | Description |
|---|---|---|
$actualDeliveryDate readonly | ?Date | |
$address readonly | ?Address | |
$locationId readonly | ?Identifier | |
$recipientName readonly | ?string |
Methods#
| Method | Description |
|---|---|
->__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,
)| Parameter | Type | Description |
|---|---|---|
$recipientName | ?string = null | |
$locationId | ?Identifier = null | |
$actualDeliveryDate | ?Date = null | |
$address | ?Address = null |
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