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:
@@ -7,28 +7,23 @@ namespace Stripe\Events;
|
||||
/**
|
||||
* @property \Stripe\RelatedObject $related_object Object containing the reference to API resource relevant to the event
|
||||
*/
|
||||
class V2CoreEventDestinationPingEvent extends \Stripe\V2\Event
|
||||
class V2CoreEventDestinationPingEvent extends \Stripe\V2\Core\Event
|
||||
{
|
||||
const LOOKUP_TYPE = 'v2.core.event_destination.ping';
|
||||
|
||||
/**
|
||||
* Retrieves the related object from the API. Make an API request on every call.
|
||||
*
|
||||
* @return \Stripe\V2\EventDestination
|
||||
* @return \Stripe\V2\Core\EventDestination
|
||||
*
|
||||
* @throws \Stripe\Exception\ApiErrorException if the request fails
|
||||
*/
|
||||
public function fetchRelatedObject()
|
||||
{
|
||||
$apiMode = \Stripe\Util\Util::getApiMode($this->related_object->url);
|
||||
list($object, $options) = $this->_request(
|
||||
'get',
|
||||
$this->related_object->url,
|
||||
[],
|
||||
['stripe_account' => $this->context],
|
||||
[],
|
||||
$apiMode
|
||||
);
|
||||
list($object, $options) = $this->_request('get', $this->related_object->url, [], [
|
||||
'stripe_context' => $this->context,
|
||||
], [], $apiMode);
|
||||
|
||||
return \Stripe\Util\Util::convertToStripeObject($object, $options, $apiMode);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user