WebhookDelivery
WebhookDelivery.php
:
16
Read-only
Final
Immutable value object representing a single webhook delivery attempt.
Properties¶
$attempt
¶
WebhookDelivery.php
:
26
|
|
|
$createdAt
¶
WebhookDelivery.php
:
32
|
|
|
$deliveredAt
¶
WebhookDelivery.php
:
33
|
|
|
$durationMs
¶
WebhookDelivery.php
:
28
|
|
|
$error
¶
WebhookDelivery.php
:
29
|
|
|
$eventType
¶
WebhookDelivery.php
:
24
|
|
|
$id
¶
WebhookDelivery.php
:
22
|
|
|
$isTest
¶
WebhookDelivery.php
:
31
|
|
|
$requestPayload
¶
WebhookDelivery.php
:
30
|
|
|
$responseCode
¶
WebhookDelivery.php
:
27
|
|
|
$status
¶
WebhookDelivery.php
:
25
|
|
|
$webhookId
¶
WebhookDelivery.php
:
23
|
|
|
Methods¶
__construct()
¶
WebhookDelivery.php
:
21
|
|
|
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| $id | string | - | - |
| $webhookId | int | - | - |
| $eventType | string | - | - |
| $status | DeliveryStatus | - | - |
| $attempt | int | - | - |
| $responseCode | int|null | - | - |
| $durationMs | int|null | - | - |
| $error | string|null | - | - |
| $requestPayload | string | - |
JSON-encoded delivery envelope, sent verbatim as the HTTP request body |
| $isTest | bool | - | - |
| $createdAt | DateTimeImmutable | - | - |
| $deliveredAt | DateTimeImmutable|null | null | - |