Documentation

WebhookTestResult extends BaseModel
in package

Table of Contents

Properties

$error  : string|null
$event  : string
$payload  : array<string|int, mixed>
$responseBody  : string|null
$responseStatusCode  : int|null
$status  : string
$url  : string

Methods

__construct()  : mixed
getError()  : string|null
getEvent()  : string
getPayload()  : array<string|int, mixed>
getResponseBody()  : string|null
getResponseStatusCode()  : int|null
getStatus()  : string
getUrl()  : string

Properties

Methods

__construct()

public __construct([array<string|int, mixed> $data = [] ]) : mixed
Parameters
$data : array<string|int, mixed> = []

getError()

public getError() : string|null
Return values
string|null —

couldNotConnect, timeout or forbiddenHost. Null when an answer was received

getPayload()

public getPayload() : array<string|int, mixed>
Return values
array<string|int, mixed>

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