mirror of
https://github.com/itflow-org/itflow
synced 2026-02-28 19:04:52 +00:00
Bump DataTable from 2.3.3 to 2.3.4, TinyMCE 8.0.2 to 8.2.0, Stripe-PHP 17.6.0 to 18.1.0, PHPMailer from 6.10.0 to 7.0.0, chartjs from 4.5.0 to 4.5.1
This commit is contained in:
25
plugins/stripe-php/lib/Events/UnknownEventNotification.php
Normal file
25
plugins/stripe-php/lib/Events/UnknownEventNotification.php
Normal file
@@ -0,0 +1,25 @@
|
||||
<?php
|
||||
|
||||
namespace Stripe\Events;
|
||||
|
||||
use Stripe\V2\Core\EventNotification;
|
||||
|
||||
/**
|
||||
* A class representing an EventNotification that the SDK doesn't have types for.
|
||||
*
|
||||
* @property null|\Stripe\RelatedObject $related_object Object containing the reference to API resource relevant to the event.
|
||||
*/
|
||||
class UnknownEventNotification extends EventNotification
|
||||
{
|
||||
public $related_object;
|
||||
|
||||
/**
|
||||
* Retrieve the event's related object from the Stripe API, if one exists. Returns null otherwise.
|
||||
*
|
||||
* @return null|\Stripe\StripeObject
|
||||
*/
|
||||
public function fetchRelatedObject()
|
||||
{
|
||||
return parent::fetchRelatedObject();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user