Documentation

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

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

getHeaders()

public getHeaders() : array<string|int, mixed>|null
Return values
array<string|int, mixed>|null —

Credential header values are masked. Returned by getDelivery() only

getLanguageId()

public getLanguageId() : string|null
Return values
string|null

getPayload()

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|null

getResponseStatusCode()

public getResponseStatusCode() : int|null
Return values
int|null —

Null when no answer was received

getStatus()

public getStatus() : string
Return values
string —

success or failed

On this page

Search results