Edit File by line

Deprecated: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in /home/sportsfever/public_html/filemanger/function.php on line 93
/home/sportsfe.../httpdocs/wp-conte.../plugins/wpforms-.../vendor_p.../stripe/stripe-p.../lib
File: WebhookEndpoint.php
<?php
[0] Fix | Delete
[1] Fix | Delete
// File generated from our OpenAPI spec
[2] Fix | Delete
namespace WPForms\Vendor\Stripe;
[3] Fix | Delete
[4] Fix | Delete
/**
[5] Fix | Delete
* You can configure <a href="https://stripe.com/docs/webhooks/">webhook endpoints</a> via the API to be
[6] Fix | Delete
* notified about events that happen in your Stripe account or connected
[7] Fix | Delete
* accounts.
[8] Fix | Delete
*
[9] Fix | Delete
* Most users configure webhooks from <a href="https://dashboard.stripe.com/webhooks">the dashboard</a>, which provides a user interface for registering and testing your webhook endpoints.
[10] Fix | Delete
*
[11] Fix | Delete
* Related guide: <a href="https://stripe.com/docs/webhooks/configure">Setting up webhooks</a>
[12] Fix | Delete
*
[13] Fix | Delete
* @property string $id Unique identifier for the object.
[14] Fix | Delete
* @property string $object String representing the object's type. Objects of the same type share the same value.
[15] Fix | Delete
* @property null|string $api_version The API version events are rendered as for this webhook endpoint.
[16] Fix | Delete
* @property null|string $application The ID of the associated Connect application.
[17] Fix | Delete
* @property int $created Time at which the object was created. Measured in seconds since the Unix epoch.
[18] Fix | Delete
* @property null|string $description An optional description of what the webhook is used for.
[19] Fix | Delete
* @property string[] $enabled_events The list of events to enable for this endpoint. <code>['*']</code> indicates that all events are enabled, except those that require explicit selection.
[20] Fix | Delete
* @property bool $livemode Has the value <code>true</code> if the object exists in live mode or the value <code>false</code> if the object exists in test mode.
[21] Fix | Delete
* @property \Stripe\StripeObject $metadata Set of <a href="https://stripe.com/docs/api/metadata">key-value pairs</a> that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
[22] Fix | Delete
* @property null|string $secret The endpoint's secret, used to generate <a href="https://stripe.com/docs/webhooks/signatures">webhook signatures</a>. Only returned at creation.
[23] Fix | Delete
* @property string $status The status of the webhook. It can be <code>enabled</code> or <code>disabled</code>.
[24] Fix | Delete
* @property string $url The URL of the webhook endpoint.
[25] Fix | Delete
*/
[26] Fix | Delete
class WebhookEndpoint extends ApiResource
[27] Fix | Delete
{
[28] Fix | Delete
const OBJECT_NAME = 'webhook_endpoint';
[29] Fix | Delete
use ApiOperations\All;
[30] Fix | Delete
use ApiOperations\Create;
[31] Fix | Delete
use ApiOperations\Delete;
[32] Fix | Delete
use ApiOperations\Retrieve;
[33] Fix | Delete
use ApiOperations\Update;
[34] Fix | Delete
}
[35] Fix | Delete
[36] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function