From 75160b12821f7f4299cce7f0b69c83c1502ae071 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anton=20Luka=20=C5=A0ijanec?= Date: Mon, 27 May 2024 13:08:29 +0200 Subject: 2024-02-19 upstream --- vendor/stripe/stripe-php/lib/WebhookEndpoint.php | 82 ++++++++++++------------ 1 file changed, 41 insertions(+), 41 deletions(-) (limited to 'vendor/stripe/stripe-php/lib/WebhookEndpoint.php') diff --git a/vendor/stripe/stripe-php/lib/WebhookEndpoint.php b/vendor/stripe/stripe-php/lib/WebhookEndpoint.php index 96333d1..44ff446 100644 --- a/vendor/stripe/stripe-php/lib/WebhookEndpoint.php +++ b/vendor/stripe/stripe-php/lib/WebhookEndpoint.php @@ -1,41 +1,41 @@ -webhook - * endpoints via the API to be notified about events that happen in your Stripe - * account or connected accounts. - * - * Most users configure webhooks from the dashboard, which provides a - * user interface for registering and testing your webhook endpoints. - * - * Related guide: Setting up - * Webhooks. - * - * @property string $id Unique identifier for the object. - * @property string $object String representing the object's type. Objects of the same type share the same value. - * @property null|string $api_version The API version events are rendered as for this webhook endpoint. - * @property null|string $application The ID of the associated Connect application. - * @property int $created Time at which the object was created. Measured in seconds since the Unix epoch. - * @property null|string $description An optional description of what the webhook is used for. - * @property string[] $enabled_events The list of events to enable for this endpoint. ['*'] indicates that all events are enabled, except those that require explicit selection. - * @property bool $livemode Has the value true if the object exists in live mode or the value false if the object exists in test mode. - * @property \Stripe\StripeObject $metadata Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. - * @property string $secret The endpoint's secret, used to generate webhook signatures. Only returned at creation. - * @property string $status The status of the webhook. It can be enabled or disabled. - * @property string $url The URL of the webhook endpoint. - */ -class WebhookEndpoint extends ApiResource -{ - const OBJECT_NAME = 'webhook_endpoint'; - - use ApiOperations\All; - use ApiOperations\Create; - use ApiOperations\Delete; - use ApiOperations\Retrieve; - use ApiOperations\Update; -} +webhook + * endpoints via the API to be notified about events that happen in your Stripe + * account or connected accounts. + * + * Most users configure webhooks from the dashboard, which provides a + * user interface for registering and testing your webhook endpoints. + * + * Related guide: Setting up + * Webhooks. + * + * @property string $id Unique identifier for the object. + * @property string $object String representing the object's type. Objects of the same type share the same value. + * @property null|string $api_version The API version events are rendered as for this webhook endpoint. + * @property null|string $application The ID of the associated Connect application. + * @property int $created Time at which the object was created. Measured in seconds since the Unix epoch. + * @property null|string $description An optional description of what the webhook is used for. + * @property string[] $enabled_events The list of events to enable for this endpoint. ['*'] indicates that all events are enabled, except those that require explicit selection. + * @property bool $livemode Has the value true if the object exists in live mode or the value false if the object exists in test mode. + * @property \Stripe\StripeObject $metadata Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. + * @property string $secret The endpoint's secret, used to generate webhook signatures. Only returned at creation. + * @property string $status The status of the webhook. It can be enabled or disabled. + * @property string $url The URL of the webhook endpoint. + */ +class WebhookEndpoint extends ApiResource +{ + const OBJECT_NAME = 'webhook_endpoint'; + + use ApiOperations\All; + use ApiOperations\Create; + use ApiOperations\Delete; + use ApiOperations\Retrieve; + use ApiOperations\Update; +} -- cgit v1.2.3