WebhookDelivery
extends BaseModel
in package
Table of Contents
Properties
- $contentType : string|null
- $createdAt : string
- $event : string
- $fileId : int|null
- $headers : array<string|int, mixed>|null
- $id : int
- $languageId : string|null
- $payload : array<string|int, mixed>|null
- $requestType : string|null
- $responseBody : string|null
- $responseStatusCode : int|null
- $status : string
- $url : string
- $webhookId : int
Methods
- __construct() : mixed
- getContentType() : string|null
- getCreatedAt() : string
- getEvent() : string
- getFileId() : int|null
- getHeaders() : array<string|int, mixed>|null
- getId() : int
- getLanguageId() : string|null
- getPayload() : array<string|int, mixed>|null
- getRequestType() : string|null
- getResponseBody() : string|null
- getResponseStatusCode() : int|null
- getStatus() : string
- getUrl() : string
- getWebhookId() : int
Properties
$contentType
protected
string|null
$contentType
$createdAt
protected
string
$createdAt
$event
protected
string
$event
$fileId
protected
int|null
$fileId
$headers
protected
array<string|int, mixed>|null
$headers
$id
protected
int
$id
$languageId
protected
string|null
$languageId
$payload
protected
array<string|int, mixed>|null
$payload
$requestType
protected
string|null
$requestType
$responseBody
protected
string|null
$responseBody
$responseStatusCode
protected
int|null
$responseStatusCode
$status
protected
string
$status
$url
protected
string
$url
$webhookId
protected
int
$webhookId
Methods
__construct()
public
__construct([array<string|int, mixed> $data = [] ]) : mixed
Parameters
- $data : array<string|int, mixed> = []
getContentType()
public
getContentType() : string|null
Return values
string|null —Returned by getDelivery() only
getCreatedAt()
public
getCreatedAt() : string
Return values
stringgetEvent()
public
getEvent() : string
Return values
stringgetFileId()
public
getFileId() : int|null
Return values
int|nullgetHeaders()
public
getHeaders() : array<string|int, mixed>|null
Return values
array<string|int, mixed>|null —Credential header values are masked. Returned by getDelivery() only
getId()
public
getId() : int
Return values
intgetLanguageId()
public
getLanguageId() : string|null
Return values
string|nullgetPayload()
public
getPayload() : array<string|int, mixed>|null
Return values
array<string|int, mixed>|null —Returned by getDelivery() only
getRequestType()
public
getRequestType() : string|null
Return values
string|null —GET or POST. Returned by getDelivery() only
getResponseBody()
public
getResponseBody() : string|null
Return values
string|nullgetResponseStatusCode()
public
getResponseStatusCode() : int|null
Return values
int|null —Null when no answer was received
getStatus()
public
getStatus() : string
Return values
string —success or failed
getUrl()
public
getUrl() : string
Return values
stringgetWebhookId()
public
getWebhookId() : int