tipo: modificación del cpanel y gitignore de la carpeta vendor

This commit is contained in:
2026-07-07 11:35:09 -06:00
parent a0c91dc567
commit 676ef0d506
8510 changed files with 1132803 additions and 4 deletions
@@ -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();
}
}
@@ -0,0 +1,41 @@
<?php
// File generated from our OpenAPI spec
namespace Stripe\Events;
/**
* @property \Stripe\RelatedObject $related_object Object containing the reference to API resource relevant to the event
* @property \Stripe\EventData\V1BillingMeterErrorReportTriggeredEventData $data data associated with the event
*/
class V1BillingMeterErrorReportTriggeredEvent extends \Stripe\V2\Core\Event
{
const LOOKUP_TYPE = 'v1.billing.meter.error_report_triggered';
/**
* Retrieves the related object from the API. Make an API request on every call.
*
* @return \Stripe\Billing\Meter
*
* @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_context' => $this->context,
], [], $apiMode);
return \Stripe\Util\Util::convertToStripeObject($object, $options, $apiMode);
}
public static function constructFrom($values, $opts = null, $apiMode = 'v2')
{
$evt = parent::constructFrom($values, $opts, $apiMode);
if (null !== $evt->data) {
$evt->data = \Stripe\EventData\V1BillingMeterErrorReportTriggeredEventData::constructFrom($evt->data, $opts, $apiMode);
}
return $evt;
}
}
@@ -0,0 +1,38 @@
<?php
// File generated from our OpenAPI spec
namespace Stripe\Events;
/**
* @property \Stripe\RelatedObject $related_object Object containing the reference to API resource relevant to the event
*/
class V1BillingMeterErrorReportTriggeredEventNotification extends \Stripe\V2\Core\EventNotification
{
const LOOKUP_TYPE = 'v1.billing.meter.error_report_triggered';
public $related_object;
/**
* Retrieves the full event object from the API. Make an API request on every call.
*
* @return V1BillingMeterErrorReportTriggeredEvent
*
* @throws \Stripe\Exception\ApiErrorException if the request fails
*/
public function fetchEvent()
{
return parent::fetchEvent();
}
/**
* Retrieves the related object from the API. Make an API request on every call.
*
* @return \Stripe\Billing\Meter
*
* @throws \Stripe\Exception\ApiErrorException if the request fails
*/
public function fetchRelatedObject()
{
return parent::fetchRelatedObject();
}
}
@@ -0,0 +1,23 @@
<?php
// File generated from our OpenAPI spec
namespace Stripe\Events;
/**
* @property \Stripe\EventData\V1BillingMeterNoMeterFoundEventData $data data associated with the event
*/
class V1BillingMeterNoMeterFoundEvent extends \Stripe\V2\Core\Event
{
const LOOKUP_TYPE = 'v1.billing.meter.no_meter_found';
public static function constructFrom($values, $opts = null, $apiMode = 'v2')
{
$evt = parent::constructFrom($values, $opts, $apiMode);
if (null !== $evt->data) {
$evt->data = \Stripe\EventData\V1BillingMeterNoMeterFoundEventData::constructFrom($evt->data, $opts, $apiMode);
}
return $evt;
}
}
@@ -0,0 +1,22 @@
<?php
// File generated from our OpenAPI spec
namespace Stripe\Events;
class V1BillingMeterNoMeterFoundEventNotification extends \Stripe\V2\Core\EventNotification
{
const LOOKUP_TYPE = 'v1.billing.meter.no_meter_found';
/**
* Retrieves the full event object from the API. Make an API request on every call.
*
* @return V1BillingMeterNoMeterFoundEvent
*
* @throws \Stripe\Exception\ApiErrorException if the request fails
*/
public function fetchEvent()
{
return parent::fetchEvent();
}
}
@@ -0,0 +1,30 @@
<?php
// File generated from our OpenAPI spec
namespace Stripe\Events;
/**
* @property \Stripe\RelatedObject $related_object Object containing the reference to API resource relevant to the event
*/
class V2CoreAccountClosedEvent extends \Stripe\V2\Core\Event
{
const LOOKUP_TYPE = 'v2.core.account.closed';
/**
* Retrieves the related object from the API. Make an API request on every call.
*
* @return \Stripe\V2\Core\Account
*
* @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_context' => $this->context,
], [], $apiMode);
return \Stripe\Util\Util::convertToStripeObject($object, $options, $apiMode);
}
}
@@ -0,0 +1,38 @@
<?php
// File generated from our OpenAPI spec
namespace Stripe\Events;
/**
* @property \Stripe\RelatedObject $related_object Object containing the reference to API resource relevant to the event
*/
class V2CoreAccountClosedEventNotification extends \Stripe\V2\Core\EventNotification
{
const LOOKUP_TYPE = 'v2.core.account.closed';
public $related_object;
/**
* Retrieves the full event object from the API. Make an API request on every call.
*
* @return V2CoreAccountClosedEvent
*
* @throws \Stripe\Exception\ApiErrorException if the request fails
*/
public function fetchEvent()
{
return parent::fetchEvent();
}
/**
* Retrieves the related object from the API. Make an API request on every call.
*
* @return \Stripe\V2\Core\Account
*
* @throws \Stripe\Exception\ApiErrorException if the request fails
*/
public function fetchRelatedObject()
{
return parent::fetchRelatedObject();
}
}
@@ -0,0 +1,30 @@
<?php
// File generated from our OpenAPI spec
namespace Stripe\Events;
/**
* @property \Stripe\RelatedObject $related_object Object containing the reference to API resource relevant to the event
*/
class V2CoreAccountCreatedEvent extends \Stripe\V2\Core\Event
{
const LOOKUP_TYPE = 'v2.core.account.created';
/**
* Retrieves the related object from the API. Make an API request on every call.
*
* @return \Stripe\V2\Core\Account
*
* @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_context' => $this->context,
], [], $apiMode);
return \Stripe\Util\Util::convertToStripeObject($object, $options, $apiMode);
}
}
@@ -0,0 +1,38 @@
<?php
// File generated from our OpenAPI spec
namespace Stripe\Events;
/**
* @property \Stripe\RelatedObject $related_object Object containing the reference to API resource relevant to the event
*/
class V2CoreAccountCreatedEventNotification extends \Stripe\V2\Core\EventNotification
{
const LOOKUP_TYPE = 'v2.core.account.created';
public $related_object;
/**
* Retrieves the full event object from the API. Make an API request on every call.
*
* @return V2CoreAccountCreatedEvent
*
* @throws \Stripe\Exception\ApiErrorException if the request fails
*/
public function fetchEvent()
{
return parent::fetchEvent();
}
/**
* Retrieves the related object from the API. Make an API request on every call.
*
* @return \Stripe\V2\Core\Account
*
* @throws \Stripe\Exception\ApiErrorException if the request fails
*/
public function fetchRelatedObject()
{
return parent::fetchRelatedObject();
}
}
@@ -0,0 +1,41 @@
<?php
// File generated from our OpenAPI spec
namespace Stripe\Events;
/**
* @property \Stripe\RelatedObject $related_object Object containing the reference to API resource relevant to the event
* @property \Stripe\EventData\V2CoreAccountIncludingConfigurationCustomerCapabilityStatusUpdatedEventData $data data associated with the event
*/
class V2CoreAccountIncludingConfigurationCustomerCapabilityStatusUpdatedEvent extends \Stripe\V2\Core\Event
{
const LOOKUP_TYPE = 'v2.core.account[configuration.customer].capability_status_updated';
/**
* Retrieves the related object from the API. Make an API request on every call.
*
* @return \Stripe\V2\Core\Account
*
* @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_context' => $this->context,
], [], $apiMode);
return \Stripe\Util\Util::convertToStripeObject($object, $options, $apiMode);
}
public static function constructFrom($values, $opts = null, $apiMode = 'v2')
{
$evt = parent::constructFrom($values, $opts, $apiMode);
if (null !== $evt->data) {
$evt->data = \Stripe\EventData\V2CoreAccountIncludingConfigurationCustomerCapabilityStatusUpdatedEventData::constructFrom($evt->data, $opts, $apiMode);
}
return $evt;
}
}
@@ -0,0 +1,38 @@
<?php
// File generated from our OpenAPI spec
namespace Stripe\Events;
/**
* @property \Stripe\RelatedObject $related_object Object containing the reference to API resource relevant to the event
*/
class V2CoreAccountIncludingConfigurationCustomerCapabilityStatusUpdatedEventNotification extends \Stripe\V2\Core\EventNotification
{
const LOOKUP_TYPE = 'v2.core.account[configuration.customer].capability_status_updated';
public $related_object;
/**
* Retrieves the full event object from the API. Make an API request on every call.
*
* @return V2CoreAccountIncludingConfigurationCustomerCapabilityStatusUpdatedEvent
*
* @throws \Stripe\Exception\ApiErrorException if the request fails
*/
public function fetchEvent()
{
return parent::fetchEvent();
}
/**
* Retrieves the related object from the API. Make an API request on every call.
*
* @return \Stripe\V2\Core\Account
*
* @throws \Stripe\Exception\ApiErrorException if the request fails
*/
public function fetchRelatedObject()
{
return parent::fetchRelatedObject();
}
}
@@ -0,0 +1,30 @@
<?php
// File generated from our OpenAPI spec
namespace Stripe\Events;
/**
* @property \Stripe\RelatedObject $related_object Object containing the reference to API resource relevant to the event
*/
class V2CoreAccountIncludingConfigurationCustomerUpdatedEvent extends \Stripe\V2\Core\Event
{
const LOOKUP_TYPE = 'v2.core.account[configuration.customer].updated';
/**
* Retrieves the related object from the API. Make an API request on every call.
*
* @return \Stripe\V2\Core\Account
*
* @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_context' => $this->context,
], [], $apiMode);
return \Stripe\Util\Util::convertToStripeObject($object, $options, $apiMode);
}
}
@@ -0,0 +1,38 @@
<?php
// File generated from our OpenAPI spec
namespace Stripe\Events;
/**
* @property \Stripe\RelatedObject $related_object Object containing the reference to API resource relevant to the event
*/
class V2CoreAccountIncludingConfigurationCustomerUpdatedEventNotification extends \Stripe\V2\Core\EventNotification
{
const LOOKUP_TYPE = 'v2.core.account[configuration.customer].updated';
public $related_object;
/**
* Retrieves the full event object from the API. Make an API request on every call.
*
* @return V2CoreAccountIncludingConfigurationCustomerUpdatedEvent
*
* @throws \Stripe\Exception\ApiErrorException if the request fails
*/
public function fetchEvent()
{
return parent::fetchEvent();
}
/**
* Retrieves the related object from the API. Make an API request on every call.
*
* @return \Stripe\V2\Core\Account
*
* @throws \Stripe\Exception\ApiErrorException if the request fails
*/
public function fetchRelatedObject()
{
return parent::fetchRelatedObject();
}
}
@@ -0,0 +1,41 @@
<?php
// File generated from our OpenAPI spec
namespace Stripe\Events;
/**
* @property \Stripe\RelatedObject $related_object Object containing the reference to API resource relevant to the event
* @property \Stripe\EventData\V2CoreAccountIncludingConfigurationMerchantCapabilityStatusUpdatedEventData $data data associated with the event
*/
class V2CoreAccountIncludingConfigurationMerchantCapabilityStatusUpdatedEvent extends \Stripe\V2\Core\Event
{
const LOOKUP_TYPE = 'v2.core.account[configuration.merchant].capability_status_updated';
/**
* Retrieves the related object from the API. Make an API request on every call.
*
* @return \Stripe\V2\Core\Account
*
* @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_context' => $this->context,
], [], $apiMode);
return \Stripe\Util\Util::convertToStripeObject($object, $options, $apiMode);
}
public static function constructFrom($values, $opts = null, $apiMode = 'v2')
{
$evt = parent::constructFrom($values, $opts, $apiMode);
if (null !== $evt->data) {
$evt->data = \Stripe\EventData\V2CoreAccountIncludingConfigurationMerchantCapabilityStatusUpdatedEventData::constructFrom($evt->data, $opts, $apiMode);
}
return $evt;
}
}
@@ -0,0 +1,38 @@
<?php
// File generated from our OpenAPI spec
namespace Stripe\Events;
/**
* @property \Stripe\RelatedObject $related_object Object containing the reference to API resource relevant to the event
*/
class V2CoreAccountIncludingConfigurationMerchantCapabilityStatusUpdatedEventNotification extends \Stripe\V2\Core\EventNotification
{
const LOOKUP_TYPE = 'v2.core.account[configuration.merchant].capability_status_updated';
public $related_object;
/**
* Retrieves the full event object from the API. Make an API request on every call.
*
* @return V2CoreAccountIncludingConfigurationMerchantCapabilityStatusUpdatedEvent
*
* @throws \Stripe\Exception\ApiErrorException if the request fails
*/
public function fetchEvent()
{
return parent::fetchEvent();
}
/**
* Retrieves the related object from the API. Make an API request on every call.
*
* @return \Stripe\V2\Core\Account
*
* @throws \Stripe\Exception\ApiErrorException if the request fails
*/
public function fetchRelatedObject()
{
return parent::fetchRelatedObject();
}
}
@@ -0,0 +1,30 @@
<?php
// File generated from our OpenAPI spec
namespace Stripe\Events;
/**
* @property \Stripe\RelatedObject $related_object Object containing the reference to API resource relevant to the event
*/
class V2CoreAccountIncludingConfigurationMerchantUpdatedEvent extends \Stripe\V2\Core\Event
{
const LOOKUP_TYPE = 'v2.core.account[configuration.merchant].updated';
/**
* Retrieves the related object from the API. Make an API request on every call.
*
* @return \Stripe\V2\Core\Account
*
* @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_context' => $this->context,
], [], $apiMode);
return \Stripe\Util\Util::convertToStripeObject($object, $options, $apiMode);
}
}
@@ -0,0 +1,38 @@
<?php
// File generated from our OpenAPI spec
namespace Stripe\Events;
/**
* @property \Stripe\RelatedObject $related_object Object containing the reference to API resource relevant to the event
*/
class V2CoreAccountIncludingConfigurationMerchantUpdatedEventNotification extends \Stripe\V2\Core\EventNotification
{
const LOOKUP_TYPE = 'v2.core.account[configuration.merchant].updated';
public $related_object;
/**
* Retrieves the full event object from the API. Make an API request on every call.
*
* @return V2CoreAccountIncludingConfigurationMerchantUpdatedEvent
*
* @throws \Stripe\Exception\ApiErrorException if the request fails
*/
public function fetchEvent()
{
return parent::fetchEvent();
}
/**
* Retrieves the related object from the API. Make an API request on every call.
*
* @return \Stripe\V2\Core\Account
*
* @throws \Stripe\Exception\ApiErrorException if the request fails
*/
public function fetchRelatedObject()
{
return parent::fetchRelatedObject();
}
}
@@ -0,0 +1,41 @@
<?php
// File generated from our OpenAPI spec
namespace Stripe\Events;
/**
* @property \Stripe\RelatedObject $related_object Object containing the reference to API resource relevant to the event
* @property \Stripe\EventData\V2CoreAccountIncludingConfigurationRecipientCapabilityStatusUpdatedEventData $data data associated with the event
*/
class V2CoreAccountIncludingConfigurationRecipientCapabilityStatusUpdatedEvent extends \Stripe\V2\Core\Event
{
const LOOKUP_TYPE = 'v2.core.account[configuration.recipient].capability_status_updated';
/**
* Retrieves the related object from the API. Make an API request on every call.
*
* @return \Stripe\V2\Core\Account
*
* @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_context' => $this->context,
], [], $apiMode);
return \Stripe\Util\Util::convertToStripeObject($object, $options, $apiMode);
}
public static function constructFrom($values, $opts = null, $apiMode = 'v2')
{
$evt = parent::constructFrom($values, $opts, $apiMode);
if (null !== $evt->data) {
$evt->data = \Stripe\EventData\V2CoreAccountIncludingConfigurationRecipientCapabilityStatusUpdatedEventData::constructFrom($evt->data, $opts, $apiMode);
}
return $evt;
}
}
@@ -0,0 +1,38 @@
<?php
// File generated from our OpenAPI spec
namespace Stripe\Events;
/**
* @property \Stripe\RelatedObject $related_object Object containing the reference to API resource relevant to the event
*/
class V2CoreAccountIncludingConfigurationRecipientCapabilityStatusUpdatedEventNotification extends \Stripe\V2\Core\EventNotification
{
const LOOKUP_TYPE = 'v2.core.account[configuration.recipient].capability_status_updated';
public $related_object;
/**
* Retrieves the full event object from the API. Make an API request on every call.
*
* @return V2CoreAccountIncludingConfigurationRecipientCapabilityStatusUpdatedEvent
*
* @throws \Stripe\Exception\ApiErrorException if the request fails
*/
public function fetchEvent()
{
return parent::fetchEvent();
}
/**
* Retrieves the related object from the API. Make an API request on every call.
*
* @return \Stripe\V2\Core\Account
*
* @throws \Stripe\Exception\ApiErrorException if the request fails
*/
public function fetchRelatedObject()
{
return parent::fetchRelatedObject();
}
}
@@ -0,0 +1,30 @@
<?php
// File generated from our OpenAPI spec
namespace Stripe\Events;
/**
* @property \Stripe\RelatedObject $related_object Object containing the reference to API resource relevant to the event
*/
class V2CoreAccountIncludingConfigurationRecipientUpdatedEvent extends \Stripe\V2\Core\Event
{
const LOOKUP_TYPE = 'v2.core.account[configuration.recipient].updated';
/**
* Retrieves the related object from the API. Make an API request on every call.
*
* @return \Stripe\V2\Core\Account
*
* @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_context' => $this->context,
], [], $apiMode);
return \Stripe\Util\Util::convertToStripeObject($object, $options, $apiMode);
}
}
@@ -0,0 +1,38 @@
<?php
// File generated from our OpenAPI spec
namespace Stripe\Events;
/**
* @property \Stripe\RelatedObject $related_object Object containing the reference to API resource relevant to the event
*/
class V2CoreAccountIncludingConfigurationRecipientUpdatedEventNotification extends \Stripe\V2\Core\EventNotification
{
const LOOKUP_TYPE = 'v2.core.account[configuration.recipient].updated';
public $related_object;
/**
* Retrieves the full event object from the API. Make an API request on every call.
*
* @return V2CoreAccountIncludingConfigurationRecipientUpdatedEvent
*
* @throws \Stripe\Exception\ApiErrorException if the request fails
*/
public function fetchEvent()
{
return parent::fetchEvent();
}
/**
* Retrieves the related object from the API. Make an API request on every call.
*
* @return \Stripe\V2\Core\Account
*
* @throws \Stripe\Exception\ApiErrorException if the request fails
*/
public function fetchRelatedObject()
{
return parent::fetchRelatedObject();
}
}
@@ -0,0 +1,30 @@
<?php
// File generated from our OpenAPI spec
namespace Stripe\Events;
/**
* @property \Stripe\RelatedObject $related_object Object containing the reference to API resource relevant to the event
*/
class V2CoreAccountIncludingDefaultsUpdatedEvent extends \Stripe\V2\Core\Event
{
const LOOKUP_TYPE = 'v2.core.account[defaults].updated';
/**
* Retrieves the related object from the API. Make an API request on every call.
*
* @return \Stripe\V2\Core\Account
*
* @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_context' => $this->context,
], [], $apiMode);
return \Stripe\Util\Util::convertToStripeObject($object, $options, $apiMode);
}
}
@@ -0,0 +1,38 @@
<?php
// File generated from our OpenAPI spec
namespace Stripe\Events;
/**
* @property \Stripe\RelatedObject $related_object Object containing the reference to API resource relevant to the event
*/
class V2CoreAccountIncludingDefaultsUpdatedEventNotification extends \Stripe\V2\Core\EventNotification
{
const LOOKUP_TYPE = 'v2.core.account[defaults].updated';
public $related_object;
/**
* Retrieves the full event object from the API. Make an API request on every call.
*
* @return V2CoreAccountIncludingDefaultsUpdatedEvent
*
* @throws \Stripe\Exception\ApiErrorException if the request fails
*/
public function fetchEvent()
{
return parent::fetchEvent();
}
/**
* Retrieves the related object from the API. Make an API request on every call.
*
* @return \Stripe\V2\Core\Account
*
* @throws \Stripe\Exception\ApiErrorException if the request fails
*/
public function fetchRelatedObject()
{
return parent::fetchRelatedObject();
}
}
@@ -0,0 +1,30 @@
<?php
// File generated from our OpenAPI spec
namespace Stripe\Events;
/**
* @property \Stripe\RelatedObject $related_object Object containing the reference to API resource relevant to the event
*/
class V2CoreAccountIncludingFutureRequirementsUpdatedEvent extends \Stripe\V2\Core\Event
{
const LOOKUP_TYPE = 'v2.core.account[future_requirements].updated';
/**
* Retrieves the related object from the API. Make an API request on every call.
*
* @return \Stripe\V2\Core\Account
*
* @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_context' => $this->context,
], [], $apiMode);
return \Stripe\Util\Util::convertToStripeObject($object, $options, $apiMode);
}
}
@@ -0,0 +1,38 @@
<?php
// File generated from our OpenAPI spec
namespace Stripe\Events;
/**
* @property \Stripe\RelatedObject $related_object Object containing the reference to API resource relevant to the event
*/
class V2CoreAccountIncludingFutureRequirementsUpdatedEventNotification extends \Stripe\V2\Core\EventNotification
{
const LOOKUP_TYPE = 'v2.core.account[future_requirements].updated';
public $related_object;
/**
* Retrieves the full event object from the API. Make an API request on every call.
*
* @return V2CoreAccountIncludingFutureRequirementsUpdatedEvent
*
* @throws \Stripe\Exception\ApiErrorException if the request fails
*/
public function fetchEvent()
{
return parent::fetchEvent();
}
/**
* Retrieves the related object from the API. Make an API request on every call.
*
* @return \Stripe\V2\Core\Account
*
* @throws \Stripe\Exception\ApiErrorException if the request fails
*/
public function fetchRelatedObject()
{
return parent::fetchRelatedObject();
}
}
@@ -0,0 +1,30 @@
<?php
// File generated from our OpenAPI spec
namespace Stripe\Events;
/**
* @property \Stripe\RelatedObject $related_object Object containing the reference to API resource relevant to the event
*/
class V2CoreAccountIncludingIdentityUpdatedEvent extends \Stripe\V2\Core\Event
{
const LOOKUP_TYPE = 'v2.core.account[identity].updated';
/**
* Retrieves the related object from the API. Make an API request on every call.
*
* @return \Stripe\V2\Core\Account
*
* @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_context' => $this->context,
], [], $apiMode);
return \Stripe\Util\Util::convertToStripeObject($object, $options, $apiMode);
}
}
@@ -0,0 +1,38 @@
<?php
// File generated from our OpenAPI spec
namespace Stripe\Events;
/**
* @property \Stripe\RelatedObject $related_object Object containing the reference to API resource relevant to the event
*/
class V2CoreAccountIncludingIdentityUpdatedEventNotification extends \Stripe\V2\Core\EventNotification
{
const LOOKUP_TYPE = 'v2.core.account[identity].updated';
public $related_object;
/**
* Retrieves the full event object from the API. Make an API request on every call.
*
* @return V2CoreAccountIncludingIdentityUpdatedEvent
*
* @throws \Stripe\Exception\ApiErrorException if the request fails
*/
public function fetchEvent()
{
return parent::fetchEvent();
}
/**
* Retrieves the related object from the API. Make an API request on every call.
*
* @return \Stripe\V2\Core\Account
*
* @throws \Stripe\Exception\ApiErrorException if the request fails
*/
public function fetchRelatedObject()
{
return parent::fetchRelatedObject();
}
}
@@ -0,0 +1,30 @@
<?php
// File generated from our OpenAPI spec
namespace Stripe\Events;
/**
* @property \Stripe\RelatedObject $related_object Object containing the reference to API resource relevant to the event
*/
class V2CoreAccountIncludingRequirementsUpdatedEvent extends \Stripe\V2\Core\Event
{
const LOOKUP_TYPE = 'v2.core.account[requirements].updated';
/**
* Retrieves the related object from the API. Make an API request on every call.
*
* @return \Stripe\V2\Core\Account
*
* @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_context' => $this->context,
], [], $apiMode);
return \Stripe\Util\Util::convertToStripeObject($object, $options, $apiMode);
}
}
@@ -0,0 +1,38 @@
<?php
// File generated from our OpenAPI spec
namespace Stripe\Events;
/**
* @property \Stripe\RelatedObject $related_object Object containing the reference to API resource relevant to the event
*/
class V2CoreAccountIncludingRequirementsUpdatedEventNotification extends \Stripe\V2\Core\EventNotification
{
const LOOKUP_TYPE = 'v2.core.account[requirements].updated';
public $related_object;
/**
* Retrieves the full event object from the API. Make an API request on every call.
*
* @return V2CoreAccountIncludingRequirementsUpdatedEvent
*
* @throws \Stripe\Exception\ApiErrorException if the request fails
*/
public function fetchEvent()
{
return parent::fetchEvent();
}
/**
* Retrieves the related object from the API. Make an API request on every call.
*
* @return \Stripe\V2\Core\Account
*
* @throws \Stripe\Exception\ApiErrorException if the request fails
*/
public function fetchRelatedObject()
{
return parent::fetchRelatedObject();
}
}
@@ -0,0 +1,23 @@
<?php
// File generated from our OpenAPI spec
namespace Stripe\Events;
/**
* @property \Stripe\EventData\V2CoreAccountLinkReturnedEventData $data data associated with the event
*/
class V2CoreAccountLinkReturnedEvent extends \Stripe\V2\Core\Event
{
const LOOKUP_TYPE = 'v2.core.account_link.returned';
public static function constructFrom($values, $opts = null, $apiMode = 'v2')
{
$evt = parent::constructFrom($values, $opts, $apiMode);
if (null !== $evt->data) {
$evt->data = \Stripe\EventData\V2CoreAccountLinkReturnedEventData::constructFrom($evt->data, $opts, $apiMode);
}
return $evt;
}
}
@@ -0,0 +1,22 @@
<?php
// File generated from our OpenAPI spec
namespace Stripe\Events;
class V2CoreAccountLinkReturnedEventNotification extends \Stripe\V2\Core\EventNotification
{
const LOOKUP_TYPE = 'v2.core.account_link.returned';
/**
* Retrieves the full event object from the API. Make an API request on every call.
*
* @return V2CoreAccountLinkReturnedEvent
*
* @throws \Stripe\Exception\ApiErrorException if the request fails
*/
public function fetchEvent()
{
return parent::fetchEvent();
}
}
@@ -0,0 +1,41 @@
<?php
// File generated from our OpenAPI spec
namespace Stripe\Events;
/**
* @property \Stripe\RelatedObject $related_object Object containing the reference to API resource relevant to the event
* @property \Stripe\EventData\V2CoreAccountPersonCreatedEventData $data data associated with the event
*/
class V2CoreAccountPersonCreatedEvent extends \Stripe\V2\Core\Event
{
const LOOKUP_TYPE = 'v2.core.account_person.created';
/**
* Retrieves the related object from the API. Make an API request on every call.
*
* @return \Stripe\V2\Core\AccountPerson
*
* @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_context' => $this->context,
], [], $apiMode);
return \Stripe\Util\Util::convertToStripeObject($object, $options, $apiMode);
}
public static function constructFrom($values, $opts = null, $apiMode = 'v2')
{
$evt = parent::constructFrom($values, $opts, $apiMode);
if (null !== $evt->data) {
$evt->data = \Stripe\EventData\V2CoreAccountPersonCreatedEventData::constructFrom($evt->data, $opts, $apiMode);
}
return $evt;
}
}
@@ -0,0 +1,38 @@
<?php
// File generated from our OpenAPI spec
namespace Stripe\Events;
/**
* @property \Stripe\RelatedObject $related_object Object containing the reference to API resource relevant to the event
*/
class V2CoreAccountPersonCreatedEventNotification extends \Stripe\V2\Core\EventNotification
{
const LOOKUP_TYPE = 'v2.core.account_person.created';
public $related_object;
/**
* Retrieves the full event object from the API. Make an API request on every call.
*
* @return V2CoreAccountPersonCreatedEvent
*
* @throws \Stripe\Exception\ApiErrorException if the request fails
*/
public function fetchEvent()
{
return parent::fetchEvent();
}
/**
* Retrieves the related object from the API. Make an API request on every call.
*
* @return \Stripe\V2\Core\AccountPerson
*
* @throws \Stripe\Exception\ApiErrorException if the request fails
*/
public function fetchRelatedObject()
{
return parent::fetchRelatedObject();
}
}
@@ -0,0 +1,41 @@
<?php
// File generated from our OpenAPI spec
namespace Stripe\Events;
/**
* @property \Stripe\RelatedObject $related_object Object containing the reference to API resource relevant to the event
* @property \Stripe\EventData\V2CoreAccountPersonDeletedEventData $data data associated with the event
*/
class V2CoreAccountPersonDeletedEvent extends \Stripe\V2\Core\Event
{
const LOOKUP_TYPE = 'v2.core.account_person.deleted';
/**
* Retrieves the related object from the API. Make an API request on every call.
*
* @return \Stripe\V2\Core\AccountPerson
*
* @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_context' => $this->context,
], [], $apiMode);
return \Stripe\Util\Util::convertToStripeObject($object, $options, $apiMode);
}
public static function constructFrom($values, $opts = null, $apiMode = 'v2')
{
$evt = parent::constructFrom($values, $opts, $apiMode);
if (null !== $evt->data) {
$evt->data = \Stripe\EventData\V2CoreAccountPersonDeletedEventData::constructFrom($evt->data, $opts, $apiMode);
}
return $evt;
}
}
@@ -0,0 +1,38 @@
<?php
// File generated from our OpenAPI spec
namespace Stripe\Events;
/**
* @property \Stripe\RelatedObject $related_object Object containing the reference to API resource relevant to the event
*/
class V2CoreAccountPersonDeletedEventNotification extends \Stripe\V2\Core\EventNotification
{
const LOOKUP_TYPE = 'v2.core.account_person.deleted';
public $related_object;
/**
* Retrieves the full event object from the API. Make an API request on every call.
*
* @return V2CoreAccountPersonDeletedEvent
*
* @throws \Stripe\Exception\ApiErrorException if the request fails
*/
public function fetchEvent()
{
return parent::fetchEvent();
}
/**
* Retrieves the related object from the API. Make an API request on every call.
*
* @return \Stripe\V2\Core\AccountPerson
*
* @throws \Stripe\Exception\ApiErrorException if the request fails
*/
public function fetchRelatedObject()
{
return parent::fetchRelatedObject();
}
}
@@ -0,0 +1,41 @@
<?php
// File generated from our OpenAPI spec
namespace Stripe\Events;
/**
* @property \Stripe\RelatedObject $related_object Object containing the reference to API resource relevant to the event
* @property \Stripe\EventData\V2CoreAccountPersonUpdatedEventData $data data associated with the event
*/
class V2CoreAccountPersonUpdatedEvent extends \Stripe\V2\Core\Event
{
const LOOKUP_TYPE = 'v2.core.account_person.updated';
/**
* Retrieves the related object from the API. Make an API request on every call.
*
* @return \Stripe\V2\Core\AccountPerson
*
* @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_context' => $this->context,
], [], $apiMode);
return \Stripe\Util\Util::convertToStripeObject($object, $options, $apiMode);
}
public static function constructFrom($values, $opts = null, $apiMode = 'v2')
{
$evt = parent::constructFrom($values, $opts, $apiMode);
if (null !== $evt->data) {
$evt->data = \Stripe\EventData\V2CoreAccountPersonUpdatedEventData::constructFrom($evt->data, $opts, $apiMode);
}
return $evt;
}
}
@@ -0,0 +1,38 @@
<?php
// File generated from our OpenAPI spec
namespace Stripe\Events;
/**
* @property \Stripe\RelatedObject $related_object Object containing the reference to API resource relevant to the event
*/
class V2CoreAccountPersonUpdatedEventNotification extends \Stripe\V2\Core\EventNotification
{
const LOOKUP_TYPE = 'v2.core.account_person.updated';
public $related_object;
/**
* Retrieves the full event object from the API. Make an API request on every call.
*
* @return V2CoreAccountPersonUpdatedEvent
*
* @throws \Stripe\Exception\ApiErrorException if the request fails
*/
public function fetchEvent()
{
return parent::fetchEvent();
}
/**
* Retrieves the related object from the API. Make an API request on every call.
*
* @return \Stripe\V2\Core\AccountPerson
*
* @throws \Stripe\Exception\ApiErrorException if the request fails
*/
public function fetchRelatedObject()
{
return parent::fetchRelatedObject();
}
}
@@ -0,0 +1,30 @@
<?php
// File generated from our OpenAPI spec
namespace Stripe\Events;
/**
* @property \Stripe\RelatedObject $related_object Object containing the reference to API resource relevant to the event
*/
class V2CoreAccountUpdatedEvent extends \Stripe\V2\Core\Event
{
const LOOKUP_TYPE = 'v2.core.account.updated';
/**
* Retrieves the related object from the API. Make an API request on every call.
*
* @return \Stripe\V2\Core\Account
*
* @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_context' => $this->context,
], [], $apiMode);
return \Stripe\Util\Util::convertToStripeObject($object, $options, $apiMode);
}
}
@@ -0,0 +1,38 @@
<?php
// File generated from our OpenAPI spec
namespace Stripe\Events;
/**
* @property \Stripe\RelatedObject $related_object Object containing the reference to API resource relevant to the event
*/
class V2CoreAccountUpdatedEventNotification extends \Stripe\V2\Core\EventNotification
{
const LOOKUP_TYPE = 'v2.core.account.updated';
public $related_object;
/**
* Retrieves the full event object from the API. Make an API request on every call.
*
* @return V2CoreAccountUpdatedEvent
*
* @throws \Stripe\Exception\ApiErrorException if the request fails
*/
public function fetchEvent()
{
return parent::fetchEvent();
}
/**
* Retrieves the related object from the API. Make an API request on every call.
*
* @return \Stripe\V2\Core\Account
*
* @throws \Stripe\Exception\ApiErrorException if the request fails
*/
public function fetchRelatedObject()
{
return parent::fetchRelatedObject();
}
}
@@ -0,0 +1,30 @@
<?php
// File generated from our OpenAPI spec
namespace Stripe\Events;
/**
* @property \Stripe\RelatedObject $related_object Object containing the reference to API resource relevant to the 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\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_context' => $this->context,
], [], $apiMode);
return \Stripe\Util\Util::convertToStripeObject($object, $options, $apiMode);
}
}
@@ -0,0 +1,38 @@
<?php
// File generated from our OpenAPI spec
namespace Stripe\Events;
/**
* @property \Stripe\RelatedObject $related_object Object containing the reference to API resource relevant to the event
*/
class V2CoreEventDestinationPingEventNotification extends \Stripe\V2\Core\EventNotification
{
const LOOKUP_TYPE = 'v2.core.event_destination.ping';
public $related_object;
/**
* Retrieves the full event object from the API. Make an API request on every call.
*
* @return V2CoreEventDestinationPingEvent
*
* @throws \Stripe\Exception\ApiErrorException if the request fails
*/
public function fetchEvent()
{
return parent::fetchEvent();
}
/**
* Retrieves the related object from the API. Make an API request on every call.
*
* @return \Stripe\V2\Core\EventDestination
*
* @throws \Stripe\Exception\ApiErrorException if the request fails
*/
public function fetchRelatedObject()
{
return parent::fetchRelatedObject();
}
}