34968-vm/vendor/stripe/stripe-php/lib/Events/UnknownEventNotification.php
Flatlogic Bot 369f552c9f V6
2025-10-15 00:49:03 +00:00

26 lines
647 B
PHP

<?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();
}
}