UpdateWebhookEndpoint
in package
implements
JsonSerializable
uses
JsonSerializableTrait
Read onlyYes
Table of Contents
Interfaces
- JsonSerializable
Properties
- $endpointUrl : string|null
- The HTTPS URL where webhooks will be sent.
- $events : array<string|int, CreateWebhookEndpointEvents>|null
- The events that the Webhook Endpoint is subscribed to.
- $status : WebhookEndpointJsonStatus|null
- Whether the Webhook Endpoint is enabled or disabled.
Methods
- __construct() : mixed
- fromArray() : self
- jsonSerialize() : array<string|int, mixed>
- toArray() : array<string|int, mixed>
Properties
$endpointUrl
The HTTPS URL where webhooks will be sent.
public
string|null
$endpointUrl
= null
$events
The events that the Webhook Endpoint is subscribed to.
public
array<string|int, CreateWebhookEndpointEvents>|null
$events
= null
$status
Whether the Webhook Endpoint is enabled or disabled.
public
WebhookEndpointJsonStatus|null
$status
= null
Methods
__construct()
public
__construct([string|null $endpointUrl = null ][, WebhookEndpointJsonStatus|null $status = null ][, array<string|int, mixed>|null $events = null ]) : mixed
Parameters
- $endpointUrl : string|null = null
- $status : WebhookEndpointJsonStatus|null = null
- $events : array<string|int, mixed>|null = null
fromArray()
public
static fromArray(array<string|int, mixed> $data) : self
Parameters
- $data : array<string|int, mixed>
Return values
selfjsonSerialize()
public
jsonSerialize() : array<string|int, mixed>
Return values
array<string|int, mixed>toArray()
public
toArray() : array<string|int, mixed>