diff options
Diffstat (limited to '')
4 files changed, 239 insertions, 239 deletions
diff --git a/vendor/stripe/stripe-php/lib/Service/Radar/EarlyFraudWarningService.php b/vendor/stripe/stripe-php/lib/Service/Radar/EarlyFraudWarningService.php index 7b09734..1d358f5 100644 --- a/vendor/stripe/stripe-php/lib/Service/Radar/EarlyFraudWarningService.php +++ b/vendor/stripe/stripe-php/lib/Service/Radar/EarlyFraudWarningService.php @@ -1,43 +1,43 @@ -<?php - -// File generated from our OpenAPI spec - -namespace Stripe\Service\Radar; - -class EarlyFraudWarningService extends \Stripe\Service\AbstractService -{ - /** - * Returns a list of early fraud warnings. - * - * @param null|array $params - * @param null|array|\Stripe\Util\RequestOptions $opts - * - * @throws \Stripe\Exception\ApiErrorException if the request fails - * - * @return \Stripe\Collection - */ - public function all($params = null, $opts = null) - { - return $this->requestCollection('get', '/v1/radar/early_fraud_warnings', $params, $opts); - } - - /** - * Retrieves the details of an early fraud warning that has previously been - * created. - * - * Please refer to the <a href="#early_fraud_warning_object">early fraud - * warning</a> object reference for more details. - * - * @param string $id - * @param null|array $params - * @param null|array|\Stripe\Util\RequestOptions $opts - * - * @throws \Stripe\Exception\ApiErrorException if the request fails - * - * @return \Stripe\Radar\EarlyFraudWarning - */ - public function retrieve($id, $params = null, $opts = null) - { - return $this->request('get', $this->buildPath('/v1/radar/early_fraud_warnings/%s', $id), $params, $opts); - } -} +<?php
+
+// File generated from our OpenAPI spec
+
+namespace Stripe\Service\Radar;
+
+class EarlyFraudWarningService extends \Stripe\Service\AbstractService
+{
+ /**
+ * Returns a list of early fraud warnings.
+ *
+ * @param null|array $params
+ * @param null|array|\Stripe\Util\RequestOptions $opts
+ *
+ * @throws \Stripe\Exception\ApiErrorException if the request fails
+ *
+ * @return \Stripe\Collection<\Stripe\Radar\EarlyFraudWarning>
+ */
+ public function all($params = null, $opts = null)
+ {
+ return $this->requestCollection('get', '/v1/radar/early_fraud_warnings', $params, $opts);
+ }
+
+ /**
+ * Retrieves the details of an early fraud warning that has previously been
+ * created.
+ *
+ * Please refer to the <a href="#early_fraud_warning_object">early fraud
+ * warning</a> object reference for more details.
+ *
+ * @param string $id
+ * @param null|array $params
+ * @param null|array|\Stripe\Util\RequestOptions $opts
+ *
+ * @throws \Stripe\Exception\ApiErrorException if the request fails
+ *
+ * @return \Stripe\Radar\EarlyFraudWarning
+ */
+ public function retrieve($id, $params = null, $opts = null)
+ {
+ return $this->request('get', $this->buildPath('/v1/radar/early_fraud_warnings/%s', $id), $params, $opts);
+ }
+}
diff --git a/vendor/stripe/stripe-php/lib/Service/Radar/RadarServiceFactory.php b/vendor/stripe/stripe-php/lib/Service/Radar/RadarServiceFactory.php index b093c67..157a767 100644 --- a/vendor/stripe/stripe-php/lib/Service/Radar/RadarServiceFactory.php +++ b/vendor/stripe/stripe-php/lib/Service/Radar/RadarServiceFactory.php @@ -1,29 +1,29 @@ -<?php - -// File generated from our OpenAPI spec - -namespace Stripe\Service\Radar; - -/** - * Service factory class for API resources in the Radar namespace. - * - * @property EarlyFraudWarningService $earlyFraudWarnings - * @property ValueListItemService $valueListItems - * @property ValueListService $valueLists - */ -class RadarServiceFactory extends \Stripe\Service\AbstractServiceFactory -{ - /** - * @var array<string, string> - */ - private static $classMap = [ - 'earlyFraudWarnings' => EarlyFraudWarningService::class, - 'valueListItems' => ValueListItemService::class, - 'valueLists' => ValueListService::class, - ]; - - protected function getServiceClass($name) - { - return \array_key_exists($name, self::$classMap) ? self::$classMap[$name] : null; - } -} +<?php
+
+// File generated from our OpenAPI spec
+
+namespace Stripe\Service\Radar;
+
+/**
+ * Service factory class for API resources in the Radar namespace.
+ *
+ * @property EarlyFraudWarningService $earlyFraudWarnings
+ * @property ValueListItemService $valueListItems
+ * @property ValueListService $valueLists
+ */
+class RadarServiceFactory extends \Stripe\Service\AbstractServiceFactory
+{
+ /**
+ * @var array<string, string>
+ */
+ private static $classMap = [
+ 'earlyFraudWarnings' => EarlyFraudWarningService::class,
+ 'valueListItems' => ValueListItemService::class,
+ 'valueLists' => ValueListService::class,
+ ];
+
+ protected function getServiceClass($name)
+ {
+ return \array_key_exists($name, self::$classMap) ? self::$classMap[$name] : null;
+ }
+}
diff --git a/vendor/stripe/stripe-php/lib/Service/Radar/ValueListItemService.php b/vendor/stripe/stripe-php/lib/Service/Radar/ValueListItemService.php index 89eba2a..7177e28 100644 --- a/vendor/stripe/stripe-php/lib/Service/Radar/ValueListItemService.php +++ b/vendor/stripe/stripe-php/lib/Service/Radar/ValueListItemService.php @@ -1,74 +1,74 @@ -<?php - -// File generated from our OpenAPI spec - -namespace Stripe\Service\Radar; - -class ValueListItemService extends \Stripe\Service\AbstractService -{ - /** - * Returns a list of <code>ValueListItem</code> objects. The objects are sorted in - * descending order by creation date, with the most recently created object - * appearing first. - * - * @param null|array $params - * @param null|array|\Stripe\Util\RequestOptions $opts - * - * @throws \Stripe\Exception\ApiErrorException if the request fails - * - * @return \Stripe\Collection - */ - public function all($params = null, $opts = null) - { - return $this->requestCollection('get', '/v1/radar/value_list_items', $params, $opts); - } - - /** - * Creates a new <code>ValueListItem</code> object, which is added to the specified - * parent value list. - * - * @param null|array $params - * @param null|array|\Stripe\Util\RequestOptions $opts - * - * @throws \Stripe\Exception\ApiErrorException if the request fails - * - * @return \Stripe\Radar\ValueListItem - */ - public function create($params = null, $opts = null) - { - return $this->request('post', '/v1/radar/value_list_items', $params, $opts); - } - - /** - * Deletes a <code>ValueListItem</code> object, removing it from its parent value - * list. - * - * @param string $id - * @param null|array $params - * @param null|array|\Stripe\Util\RequestOptions $opts - * - * @throws \Stripe\Exception\ApiErrorException if the request fails - * - * @return \Stripe\Radar\ValueListItem - */ - public function delete($id, $params = null, $opts = null) - { - return $this->request('delete', $this->buildPath('/v1/radar/value_list_items/%s', $id), $params, $opts); - } - - /** - * Retrieves a <code>ValueListItem</code> object. - * - * @param string $id - * @param null|array $params - * @param null|array|\Stripe\Util\RequestOptions $opts - * - * @throws \Stripe\Exception\ApiErrorException if the request fails - * - * @return \Stripe\Radar\ValueListItem - */ - public function retrieve($id, $params = null, $opts = null) - { - return $this->request('get', $this->buildPath('/v1/radar/value_list_items/%s', $id), $params, $opts); - } -} +<?php
+
+// File generated from our OpenAPI spec
+
+namespace Stripe\Service\Radar;
+
+class ValueListItemService extends \Stripe\Service\AbstractService
+{
+ /**
+ * Returns a list of <code>ValueListItem</code> objects. The objects are sorted in
+ * descending order by creation date, with the most recently created object
+ * appearing first.
+ *
+ * @param null|array $params
+ * @param null|array|\Stripe\Util\RequestOptions $opts
+ *
+ * @throws \Stripe\Exception\ApiErrorException if the request fails
+ *
+ * @return \Stripe\Collection<\Stripe\Radar\ValueListItem>
+ */
+ public function all($params = null, $opts = null)
+ {
+ return $this->requestCollection('get', '/v1/radar/value_list_items', $params, $opts);
+ }
+
+ /**
+ * Creates a new <code>ValueListItem</code> object, which is added to the specified
+ * parent value list.
+ *
+ * @param null|array $params
+ * @param null|array|\Stripe\Util\RequestOptions $opts
+ *
+ * @throws \Stripe\Exception\ApiErrorException if the request fails
+ *
+ * @return \Stripe\Radar\ValueListItem
+ */
+ public function create($params = null, $opts = null)
+ {
+ return $this->request('post', '/v1/radar/value_list_items', $params, $opts);
+ }
+
+ /**
+ * Deletes a <code>ValueListItem</code> object, removing it from its parent value
+ * list.
+ *
+ * @param string $id
+ * @param null|array $params
+ * @param null|array|\Stripe\Util\RequestOptions $opts
+ *
+ * @throws \Stripe\Exception\ApiErrorException if the request fails
+ *
+ * @return \Stripe\Radar\ValueListItem
+ */
+ public function delete($id, $params = null, $opts = null)
+ {
+ return $this->request('delete', $this->buildPath('/v1/radar/value_list_items/%s', $id), $params, $opts);
+ }
+
+ /**
+ * Retrieves a <code>ValueListItem</code> object.
+ *
+ * @param string $id
+ * @param null|array $params
+ * @param null|array|\Stripe\Util\RequestOptions $opts
+ *
+ * @throws \Stripe\Exception\ApiErrorException if the request fails
+ *
+ * @return \Stripe\Radar\ValueListItem
+ */
+ public function retrieve($id, $params = null, $opts = null)
+ {
+ return $this->request('get', $this->buildPath('/v1/radar/value_list_items/%s', $id), $params, $opts);
+ }
+}
diff --git a/vendor/stripe/stripe-php/lib/Service/Radar/ValueListService.php b/vendor/stripe/stripe-php/lib/Service/Radar/ValueListService.php index 64ac2ee..a6f0e12 100644 --- a/vendor/stripe/stripe-php/lib/Service/Radar/ValueListService.php +++ b/vendor/stripe/stripe-php/lib/Service/Radar/ValueListService.php @@ -1,93 +1,93 @@ -<?php - -// File generated from our OpenAPI spec - -namespace Stripe\Service\Radar; - -class ValueListService extends \Stripe\Service\AbstractService -{ - /** - * Returns a list of <code>ValueList</code> objects. The objects are sorted in - * descending order by creation date, with the most recently created object - * appearing first. - * - * @param null|array $params - * @param null|array|\Stripe\Util\RequestOptions $opts - * - * @throws \Stripe\Exception\ApiErrorException if the request fails - * - * @return \Stripe\Collection - */ - public function all($params = null, $opts = null) - { - return $this->requestCollection('get', '/v1/radar/value_lists', $params, $opts); - } - - /** - * Creates a new <code>ValueList</code> object, which can then be referenced in - * rules. - * - * @param null|array $params - * @param null|array|\Stripe\Util\RequestOptions $opts - * - * @throws \Stripe\Exception\ApiErrorException if the request fails - * - * @return \Stripe\Radar\ValueList - */ - public function create($params = null, $opts = null) - { - return $this->request('post', '/v1/radar/value_lists', $params, $opts); - } - - /** - * Deletes a <code>ValueList</code> object, also deleting any items contained - * within the value list. To be deleted, a value list must not be referenced in any - * rules. - * - * @param string $id - * @param null|array $params - * @param null|array|\Stripe\Util\RequestOptions $opts - * - * @throws \Stripe\Exception\ApiErrorException if the request fails - * - * @return \Stripe\Radar\ValueList - */ - public function delete($id, $params = null, $opts = null) - { - return $this->request('delete', $this->buildPath('/v1/radar/value_lists/%s', $id), $params, $opts); - } - - /** - * Retrieves a <code>ValueList</code> object. - * - * @param string $id - * @param null|array $params - * @param null|array|\Stripe\Util\RequestOptions $opts - * - * @throws \Stripe\Exception\ApiErrorException if the request fails - * - * @return \Stripe\Radar\ValueList - */ - public function retrieve($id, $params = null, $opts = null) - { - return $this->request('get', $this->buildPath('/v1/radar/value_lists/%s', $id), $params, $opts); - } - - /** - * Updates a <code>ValueList</code> object by setting the values of the parameters - * passed. Any parameters not provided will be left unchanged. Note that - * <code>item_type</code> is immutable. - * - * @param string $id - * @param null|array $params - * @param null|array|\Stripe\Util\RequestOptions $opts - * - * @throws \Stripe\Exception\ApiErrorException if the request fails - * - * @return \Stripe\Radar\ValueList - */ - public function update($id, $params = null, $opts = null) - { - return $this->request('post', $this->buildPath('/v1/radar/value_lists/%s', $id), $params, $opts); - } -} +<?php
+
+// File generated from our OpenAPI spec
+
+namespace Stripe\Service\Radar;
+
+class ValueListService extends \Stripe\Service\AbstractService
+{
+ /**
+ * Returns a list of <code>ValueList</code> objects. The objects are sorted in
+ * descending order by creation date, with the most recently created object
+ * appearing first.
+ *
+ * @param null|array $params
+ * @param null|array|\Stripe\Util\RequestOptions $opts
+ *
+ * @throws \Stripe\Exception\ApiErrorException if the request fails
+ *
+ * @return \Stripe\Collection<\Stripe\Radar\ValueList>
+ */
+ public function all($params = null, $opts = null)
+ {
+ return $this->requestCollection('get', '/v1/radar/value_lists', $params, $opts);
+ }
+
+ /**
+ * Creates a new <code>ValueList</code> object, which can then be referenced in
+ * rules.
+ *
+ * @param null|array $params
+ * @param null|array|\Stripe\Util\RequestOptions $opts
+ *
+ * @throws \Stripe\Exception\ApiErrorException if the request fails
+ *
+ * @return \Stripe\Radar\ValueList
+ */
+ public function create($params = null, $opts = null)
+ {
+ return $this->request('post', '/v1/radar/value_lists', $params, $opts);
+ }
+
+ /**
+ * Deletes a <code>ValueList</code> object, also deleting any items contained
+ * within the value list. To be deleted, a value list must not be referenced in any
+ * rules.
+ *
+ * @param string $id
+ * @param null|array $params
+ * @param null|array|\Stripe\Util\RequestOptions $opts
+ *
+ * @throws \Stripe\Exception\ApiErrorException if the request fails
+ *
+ * @return \Stripe\Radar\ValueList
+ */
+ public function delete($id, $params = null, $opts = null)
+ {
+ return $this->request('delete', $this->buildPath('/v1/radar/value_lists/%s', $id), $params, $opts);
+ }
+
+ /**
+ * Retrieves a <code>ValueList</code> object.
+ *
+ * @param string $id
+ * @param null|array $params
+ * @param null|array|\Stripe\Util\RequestOptions $opts
+ *
+ * @throws \Stripe\Exception\ApiErrorException if the request fails
+ *
+ * @return \Stripe\Radar\ValueList
+ */
+ public function retrieve($id, $params = null, $opts = null)
+ {
+ return $this->request('get', $this->buildPath('/v1/radar/value_lists/%s', $id), $params, $opts);
+ }
+
+ /**
+ * Updates a <code>ValueList</code> object by setting the values of the parameters
+ * passed. Any parameters not provided will be left unchanged. Note that
+ * <code>item_type</code> is immutable.
+ *
+ * @param string $id
+ * @param null|array $params
+ * @param null|array|\Stripe\Util\RequestOptions $opts
+ *
+ * @throws \Stripe\Exception\ApiErrorException if the request fails
+ *
+ * @return \Stripe\Radar\ValueList
+ */
+ public function update($id, $params = null, $opts = null)
+ {
+ return $this->request('post', $this->buildPath('/v1/radar/value_lists/%s', $id), $params, $opts);
+ }
+}
|