mirror of
https://github.com/itflow-org/itflow
synced 2026-08-17 04:55:13 +00:00
Split DB Updates into seperate files, with the cutoff being 2.0.0
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
<?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 V2CommerceProductCatalogImportsFailedEvent extends \Stripe\V2\Core\Event
|
||||
{
|
||||
const LOOKUP_TYPE = 'v2.commerce.product_catalog.imports.failed';
|
||||
|
||||
/**
|
||||
* Retrieves the related object from the API. Make an API request on every call.
|
||||
*
|
||||
* @return \Stripe\V2\Commerce\ProductCatalogImport
|
||||
*
|
||||
* @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,
|
||||
'headers' => ['Stripe-Request-Trigger' => 'event=' . $this->id],
|
||||
], [], $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 V2CommerceProductCatalogImportsFailedEventNotification extends \Stripe\V2\Core\EventNotification
|
||||
{
|
||||
const LOOKUP_TYPE = 'v2.commerce.product_catalog.imports.failed';
|
||||
public $related_object;
|
||||
|
||||
/**
|
||||
* Retrieves the full event object from the API. Make an API request on every call.
|
||||
*
|
||||
* @return V2CommerceProductCatalogImportsFailedEvent
|
||||
*
|
||||
* @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\Commerce\ProductCatalogImport
|
||||
*
|
||||
* @throws \Stripe\Exception\ApiErrorException if the request fails
|
||||
*/
|
||||
public function fetchRelatedObject()
|
||||
{
|
||||
return parent::fetchRelatedObject();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,31 @@
|
||||
<?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 V2CommerceProductCatalogImportsProcessingEvent extends \Stripe\V2\Core\Event
|
||||
{
|
||||
const LOOKUP_TYPE = 'v2.commerce.product_catalog.imports.processing';
|
||||
|
||||
/**
|
||||
* Retrieves the related object from the API. Make an API request on every call.
|
||||
*
|
||||
* @return \Stripe\V2\Commerce\ProductCatalogImport
|
||||
*
|
||||
* @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,
|
||||
'headers' => ['Stripe-Request-Trigger' => 'event=' . $this->id],
|
||||
], [], $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 V2CommerceProductCatalogImportsProcessingEventNotification extends \Stripe\V2\Core\EventNotification
|
||||
{
|
||||
const LOOKUP_TYPE = 'v2.commerce.product_catalog.imports.processing';
|
||||
public $related_object;
|
||||
|
||||
/**
|
||||
* Retrieves the full event object from the API. Make an API request on every call.
|
||||
*
|
||||
* @return V2CommerceProductCatalogImportsProcessingEvent
|
||||
*
|
||||
* @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\Commerce\ProductCatalogImport
|
||||
*
|
||||
* @throws \Stripe\Exception\ApiErrorException if the request fails
|
||||
*/
|
||||
public function fetchRelatedObject()
|
||||
{
|
||||
return parent::fetchRelatedObject();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,31 @@
|
||||
<?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 V2CommerceProductCatalogImportsSucceededEvent extends \Stripe\V2\Core\Event
|
||||
{
|
||||
const LOOKUP_TYPE = 'v2.commerce.product_catalog.imports.succeeded';
|
||||
|
||||
/**
|
||||
* Retrieves the related object from the API. Make an API request on every call.
|
||||
*
|
||||
* @return \Stripe\V2\Commerce\ProductCatalogImport
|
||||
*
|
||||
* @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,
|
||||
'headers' => ['Stripe-Request-Trigger' => 'event=' . $this->id],
|
||||
], [], $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 V2CommerceProductCatalogImportsSucceededEventNotification extends \Stripe\V2\Core\EventNotification
|
||||
{
|
||||
const LOOKUP_TYPE = 'v2.commerce.product_catalog.imports.succeeded';
|
||||
public $related_object;
|
||||
|
||||
/**
|
||||
* Retrieves the full event object from the API. Make an API request on every call.
|
||||
*
|
||||
* @return V2CommerceProductCatalogImportsSucceededEvent
|
||||
*
|
||||
* @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\Commerce\ProductCatalogImport
|
||||
*
|
||||
* @throws \Stripe\Exception\ApiErrorException if the request fails
|
||||
*/
|
||||
public function fetchRelatedObject()
|
||||
{
|
||||
return parent::fetchRelatedObject();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,31 @@
|
||||
<?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 V2CommerceProductCatalogImportsSucceededWithErrorsEvent extends \Stripe\V2\Core\Event
|
||||
{
|
||||
const LOOKUP_TYPE = 'v2.commerce.product_catalog.imports.succeeded_with_errors';
|
||||
|
||||
/**
|
||||
* Retrieves the related object from the API. Make an API request on every call.
|
||||
*
|
||||
* @return \Stripe\V2\Commerce\ProductCatalogImport
|
||||
*
|
||||
* @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,
|
||||
'headers' => ['Stripe-Request-Trigger' => 'event=' . $this->id],
|
||||
], [], $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 V2CommerceProductCatalogImportsSucceededWithErrorsEventNotification extends \Stripe\V2\Core\EventNotification
|
||||
{
|
||||
const LOOKUP_TYPE = 'v2.commerce.product_catalog.imports.succeeded_with_errors';
|
||||
public $related_object;
|
||||
|
||||
/**
|
||||
* Retrieves the full event object from the API. Make an API request on every call.
|
||||
*
|
||||
* @return V2CommerceProductCatalogImportsSucceededWithErrorsEvent
|
||||
*
|
||||
* @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\Commerce\ProductCatalogImport
|
||||
*
|
||||
* @throws \Stripe\Exception\ApiErrorException if the request fails
|
||||
*/
|
||||
public function fetchRelatedObject()
|
||||
{
|
||||
return parent::fetchRelatedObject();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user