summaryrefslogtreecommitdiffstats
path: root/vendor/stripe/stripe-php/lib/Service/Issuing
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/stripe/stripe-php/lib/Service/Issuing')
-rw-r--r--vendor/stripe/stripe-php/lib/Service/Issuing/AuthorizationService.php194
-rw-r--r--vendor/stripe/stripe-php/lib/Service/Issuing/CardService.php146
-rw-r--r--vendor/stripe/stripe-php/lib/Service/Issuing/CardholderService.php148
-rw-r--r--vendor/stripe/stripe-php/lib/Service/Issuing/DisputeService.php198
-rw-r--r--vendor/stripe/stripe-php/lib/Service/Issuing/IssuingServiceFactory.php66
-rw-r--r--vendor/stripe/stripe-php/lib/Service/Issuing/TransactionService.php118
6 files changed, 435 insertions, 435 deletions
diff --git a/vendor/stripe/stripe-php/lib/Service/Issuing/AuthorizationService.php b/vendor/stripe/stripe-php/lib/Service/Issuing/AuthorizationService.php
index 6fff70e..f28b282 100644
--- a/vendor/stripe/stripe-php/lib/Service/Issuing/AuthorizationService.php
+++ b/vendor/stripe/stripe-php/lib/Service/Issuing/AuthorizationService.php
@@ -1,97 +1,97 @@
-<?php
-
-// File generated from our OpenAPI spec
-
-namespace Stripe\Service\Issuing;
-
-class AuthorizationService extends \Stripe\Service\AbstractService
-{
- /**
- * Returns a list of Issuing <code>Authorization</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/issuing/authorizations', $params, $opts);
- }
-
- /**
- * Approves a pending Issuing <code>Authorization</code> object. This request
- * should be made within the timeout window of the <a
- * href="/docs/issuing/controls/real-time-authorizations">real-time
- * authorization</a> flow.
- *
- * @param string $id
- * @param null|array $params
- * @param null|array|\Stripe\Util\RequestOptions $opts
- *
- * @throws \Stripe\Exception\ApiErrorException if the request fails
- *
- * @return \Stripe\Issuing\Authorization
- */
- public function approve($id, $params = null, $opts = null)
- {
- return $this->request('post', $this->buildPath('/v1/issuing/authorizations/%s/approve', $id), $params, $opts);
- }
-
- /**
- * Declines a pending Issuing <code>Authorization</code> object. This request
- * should be made within the timeout window of the <a
- * href="/docs/issuing/controls/real-time-authorizations">real time
- * authorization</a> flow.
- *
- * @param string $id
- * @param null|array $params
- * @param null|array|\Stripe\Util\RequestOptions $opts
- *
- * @throws \Stripe\Exception\ApiErrorException if the request fails
- *
- * @return \Stripe\Issuing\Authorization
- */
- public function decline($id, $params = null, $opts = null)
- {
- return $this->request('post', $this->buildPath('/v1/issuing/authorizations/%s/decline', $id), $params, $opts);
- }
-
- /**
- * Retrieves an Issuing <code>Authorization</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\Issuing\Authorization
- */
- public function retrieve($id, $params = null, $opts = null)
- {
- return $this->request('get', $this->buildPath('/v1/issuing/authorizations/%s', $id), $params, $opts);
- }
-
- /**
- * Updates the specified Issuing <code>Authorization</code> object by setting the
- * values of the parameters passed. Any parameters not provided will be left
- * unchanged.
- *
- * @param string $id
- * @param null|array $params
- * @param null|array|\Stripe\Util\RequestOptions $opts
- *
- * @throws \Stripe\Exception\ApiErrorException if the request fails
- *
- * @return \Stripe\Issuing\Authorization
- */
- public function update($id, $params = null, $opts = null)
- {
- return $this->request('post', $this->buildPath('/v1/issuing/authorizations/%s', $id), $params, $opts);
- }
-}
+<?php
+
+// File generated from our OpenAPI spec
+
+namespace Stripe\Service\Issuing;
+
+class AuthorizationService extends \Stripe\Service\AbstractService
+{
+ /**
+ * Returns a list of Issuing <code>Authorization</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\Issuing\Authorization>
+ */
+ public function all($params = null, $opts = null)
+ {
+ return $this->requestCollection('get', '/v1/issuing/authorizations', $params, $opts);
+ }
+
+ /**
+ * Approves a pending Issuing <code>Authorization</code> object. This request
+ * should be made within the timeout window of the <a
+ * href="/docs/issuing/controls/real-time-authorizations">real-time
+ * authorization</a> flow.
+ *
+ * @param string $id
+ * @param null|array $params
+ * @param null|array|\Stripe\Util\RequestOptions $opts
+ *
+ * @throws \Stripe\Exception\ApiErrorException if the request fails
+ *
+ * @return \Stripe\Issuing\Authorization
+ */
+ public function approve($id, $params = null, $opts = null)
+ {
+ return $this->request('post', $this->buildPath('/v1/issuing/authorizations/%s/approve', $id), $params, $opts);
+ }
+
+ /**
+ * Declines a pending Issuing <code>Authorization</code> object. This request
+ * should be made within the timeout window of the <a
+ * href="/docs/issuing/controls/real-time-authorizations">real time
+ * authorization</a> flow.
+ *
+ * @param string $id
+ * @param null|array $params
+ * @param null|array|\Stripe\Util\RequestOptions $opts
+ *
+ * @throws \Stripe\Exception\ApiErrorException if the request fails
+ *
+ * @return \Stripe\Issuing\Authorization
+ */
+ public function decline($id, $params = null, $opts = null)
+ {
+ return $this->request('post', $this->buildPath('/v1/issuing/authorizations/%s/decline', $id), $params, $opts);
+ }
+
+ /**
+ * Retrieves an Issuing <code>Authorization</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\Issuing\Authorization
+ */
+ public function retrieve($id, $params = null, $opts = null)
+ {
+ return $this->request('get', $this->buildPath('/v1/issuing/authorizations/%s', $id), $params, $opts);
+ }
+
+ /**
+ * Updates the specified Issuing <code>Authorization</code> object by setting the
+ * values of the parameters passed. Any parameters not provided will be left
+ * unchanged.
+ *
+ * @param string $id
+ * @param null|array $params
+ * @param null|array|\Stripe\Util\RequestOptions $opts
+ *
+ * @throws \Stripe\Exception\ApiErrorException if the request fails
+ *
+ * @return \Stripe\Issuing\Authorization
+ */
+ public function update($id, $params = null, $opts = null)
+ {
+ return $this->request('post', $this->buildPath('/v1/issuing/authorizations/%s', $id), $params, $opts);
+ }
+}
diff --git a/vendor/stripe/stripe-php/lib/Service/Issuing/CardService.php b/vendor/stripe/stripe-php/lib/Service/Issuing/CardService.php
index 346d54a..4dde0fd 100644
--- a/vendor/stripe/stripe-php/lib/Service/Issuing/CardService.php
+++ b/vendor/stripe/stripe-php/lib/Service/Issuing/CardService.php
@@ -1,73 +1,73 @@
-<?php
-
-// File generated from our OpenAPI spec
-
-namespace Stripe\Service\Issuing;
-
-class CardService extends \Stripe\Service\AbstractService
-{
- /**
- * Returns a list of Issuing <code>Card</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/issuing/cards', $params, $opts);
- }
-
- /**
- * Creates an Issuing <code>Card</code> object.
- *
- * @param null|array $params
- * @param null|array|\Stripe\Util\RequestOptions $opts
- *
- * @throws \Stripe\Exception\ApiErrorException if the request fails
- *
- * @return \Stripe\Issuing\Card
- */
- public function create($params = null, $opts = null)
- {
- return $this->request('post', '/v1/issuing/cards', $params, $opts);
- }
-
- /**
- * Retrieves an Issuing <code>Card</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\Issuing\Card
- */
- public function retrieve($id, $params = null, $opts = null)
- {
- return $this->request('get', $this->buildPath('/v1/issuing/cards/%s', $id), $params, $opts);
- }
-
- /**
- * Updates the specified Issuing <code>Card</code> object by setting the values of
- * the parameters passed. Any parameters not provided will be left unchanged.
- *
- * @param string $id
- * @param null|array $params
- * @param null|array|\Stripe\Util\RequestOptions $opts
- *
- * @throws \Stripe\Exception\ApiErrorException if the request fails
- *
- * @return \Stripe\Issuing\Card
- */
- public function update($id, $params = null, $opts = null)
- {
- return $this->request('post', $this->buildPath('/v1/issuing/cards/%s', $id), $params, $opts);
- }
-}
+<?php
+
+// File generated from our OpenAPI spec
+
+namespace Stripe\Service\Issuing;
+
+class CardService extends \Stripe\Service\AbstractService
+{
+ /**
+ * Returns a list of Issuing <code>Card</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\Issuing\Card>
+ */
+ public function all($params = null, $opts = null)
+ {
+ return $this->requestCollection('get', '/v1/issuing/cards', $params, $opts);
+ }
+
+ /**
+ * Creates an Issuing <code>Card</code> object.
+ *
+ * @param null|array $params
+ * @param null|array|\Stripe\Util\RequestOptions $opts
+ *
+ * @throws \Stripe\Exception\ApiErrorException if the request fails
+ *
+ * @return \Stripe\Issuing\Card
+ */
+ public function create($params = null, $opts = null)
+ {
+ return $this->request('post', '/v1/issuing/cards', $params, $opts);
+ }
+
+ /**
+ * Retrieves an Issuing <code>Card</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\Issuing\Card
+ */
+ public function retrieve($id, $params = null, $opts = null)
+ {
+ return $this->request('get', $this->buildPath('/v1/issuing/cards/%s', $id), $params, $opts);
+ }
+
+ /**
+ * Updates the specified Issuing <code>Card</code> object by setting the values of
+ * the parameters passed. Any parameters not provided will be left unchanged.
+ *
+ * @param string $id
+ * @param null|array $params
+ * @param null|array|\Stripe\Util\RequestOptions $opts
+ *
+ * @throws \Stripe\Exception\ApiErrorException if the request fails
+ *
+ * @return \Stripe\Issuing\Card
+ */
+ public function update($id, $params = null, $opts = null)
+ {
+ return $this->request('post', $this->buildPath('/v1/issuing/cards/%s', $id), $params, $opts);
+ }
+}
diff --git a/vendor/stripe/stripe-php/lib/Service/Issuing/CardholderService.php b/vendor/stripe/stripe-php/lib/Service/Issuing/CardholderService.php
index 5731b1b..97776c0 100644
--- a/vendor/stripe/stripe-php/lib/Service/Issuing/CardholderService.php
+++ b/vendor/stripe/stripe-php/lib/Service/Issuing/CardholderService.php
@@ -1,74 +1,74 @@
-<?php
-
-// File generated from our OpenAPI spec
-
-namespace Stripe\Service\Issuing;
-
-class CardholderService extends \Stripe\Service\AbstractService
-{
- /**
- * Returns a list of Issuing <code>Cardholder</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/issuing/cardholders', $params, $opts);
- }
-
- /**
- * Creates a new Issuing <code>Cardholder</code> object that can be issued cards.
- *
- * @param null|array $params
- * @param null|array|\Stripe\Util\RequestOptions $opts
- *
- * @throws \Stripe\Exception\ApiErrorException if the request fails
- *
- * @return \Stripe\Issuing\Cardholder
- */
- public function create($params = null, $opts = null)
- {
- return $this->request('post', '/v1/issuing/cardholders', $params, $opts);
- }
-
- /**
- * Retrieves an Issuing <code>Cardholder</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\Issuing\Cardholder
- */
- public function retrieve($id, $params = null, $opts = null)
- {
- return $this->request('get', $this->buildPath('/v1/issuing/cardholders/%s', $id), $params, $opts);
- }
-
- /**
- * Updates the specified Issuing <code>Cardholder</code> object by setting the
- * values of the parameters passed. Any parameters not provided will be left
- * unchanged.
- *
- * @param string $id
- * @param null|array $params
- * @param null|array|\Stripe\Util\RequestOptions $opts
- *
- * @throws \Stripe\Exception\ApiErrorException if the request fails
- *
- * @return \Stripe\Issuing\Cardholder
- */
- public function update($id, $params = null, $opts = null)
- {
- return $this->request('post', $this->buildPath('/v1/issuing/cardholders/%s', $id), $params, $opts);
- }
-}
+<?php
+
+// File generated from our OpenAPI spec
+
+namespace Stripe\Service\Issuing;
+
+class CardholderService extends \Stripe\Service\AbstractService
+{
+ /**
+ * Returns a list of Issuing <code>Cardholder</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\Issuing\Cardholder>
+ */
+ public function all($params = null, $opts = null)
+ {
+ return $this->requestCollection('get', '/v1/issuing/cardholders', $params, $opts);
+ }
+
+ /**
+ * Creates a new Issuing <code>Cardholder</code> object that can be issued cards.
+ *
+ * @param null|array $params
+ * @param null|array|\Stripe\Util\RequestOptions $opts
+ *
+ * @throws \Stripe\Exception\ApiErrorException if the request fails
+ *
+ * @return \Stripe\Issuing\Cardholder
+ */
+ public function create($params = null, $opts = null)
+ {
+ return $this->request('post', '/v1/issuing/cardholders', $params, $opts);
+ }
+
+ /**
+ * Retrieves an Issuing <code>Cardholder</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\Issuing\Cardholder
+ */
+ public function retrieve($id, $params = null, $opts = null)
+ {
+ return $this->request('get', $this->buildPath('/v1/issuing/cardholders/%s', $id), $params, $opts);
+ }
+
+ /**
+ * Updates the specified Issuing <code>Cardholder</code> object by setting the
+ * values of the parameters passed. Any parameters not provided will be left
+ * unchanged.
+ *
+ * @param string $id
+ * @param null|array $params
+ * @param null|array|\Stripe\Util\RequestOptions $opts
+ *
+ * @throws \Stripe\Exception\ApiErrorException if the request fails
+ *
+ * @return \Stripe\Issuing\Cardholder
+ */
+ public function update($id, $params = null, $opts = null)
+ {
+ return $this->request('post', $this->buildPath('/v1/issuing/cardholders/%s', $id), $params, $opts);
+ }
+}
diff --git a/vendor/stripe/stripe-php/lib/Service/Issuing/DisputeService.php b/vendor/stripe/stripe-php/lib/Service/Issuing/DisputeService.php
index ab5df5f..f3d0a6c 100644
--- a/vendor/stripe/stripe-php/lib/Service/Issuing/DisputeService.php
+++ b/vendor/stripe/stripe-php/lib/Service/Issuing/DisputeService.php
@@ -1,99 +1,99 @@
-<?php
-
-// File generated from our OpenAPI spec
-
-namespace Stripe\Service\Issuing;
-
-class DisputeService extends \Stripe\Service\AbstractService
-{
- /**
- * Returns a list of Issuing <code>Dispute</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/issuing/disputes', $params, $opts);
- }
-
- /**
- * Creates an Issuing <code>Dispute</code> object. Individual pieces of evidence
- * within the <code>evidence</code> object are optional at this point. Stripe only
- * validates that required evidence is present during submission. Refer to <a
- * href="/docs/issuing/purchases/disputes#dispute-reasons-and-evidence">Dispute
- * reasons and evidence</a> for more details about evidence requirements.
- *
- * @param null|array $params
- * @param null|array|\Stripe\Util\RequestOptions $opts
- *
- * @throws \Stripe\Exception\ApiErrorException if the request fails
- *
- * @return \Stripe\Issuing\Dispute
- */
- public function create($params = null, $opts = null)
- {
- return $this->request('post', '/v1/issuing/disputes', $params, $opts);
- }
-
- /**
- * Retrieves an Issuing <code>Dispute</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\Issuing\Dispute
- */
- public function retrieve($id, $params = null, $opts = null)
- {
- return $this->request('get', $this->buildPath('/v1/issuing/disputes/%s', $id), $params, $opts);
- }
-
- /**
- * Submits an Issuing <code>Dispute</code> to the card network. Stripe validates
- * that all evidence fields required for the dispute’s reason are present. For more
- * details, see <a
- * href="/docs/issuing/purchases/disputes#dispute-reasons-and-evidence">Dispute
- * reasons and evidence</a>.
- *
- * @param string $id
- * @param null|array $params
- * @param null|array|\Stripe\Util\RequestOptions $opts
- *
- * @throws \Stripe\Exception\ApiErrorException if the request fails
- *
- * @return \Stripe\Issuing\Dispute
- */
- public function submit($id, $params = null, $opts = null)
- {
- return $this->request('post', $this->buildPath('/v1/issuing/disputes/%s/submit', $id), $params, $opts);
- }
-
- /**
- * Updates the specified Issuing <code>Dispute</code> object by setting the values
- * of the parameters passed. Any parameters not provided will be left unchanged.
- * Properties on the <code>evidence</code> object can be unset by passing in an
- * empty string.
- *
- * @param string $id
- * @param null|array $params
- * @param null|array|\Stripe\Util\RequestOptions $opts
- *
- * @throws \Stripe\Exception\ApiErrorException if the request fails
- *
- * @return \Stripe\Issuing\Dispute
- */
- public function update($id, $params = null, $opts = null)
- {
- return $this->request('post', $this->buildPath('/v1/issuing/disputes/%s', $id), $params, $opts);
- }
-}
+<?php
+
+// File generated from our OpenAPI spec
+
+namespace Stripe\Service\Issuing;
+
+class DisputeService extends \Stripe\Service\AbstractService
+{
+ /**
+ * Returns a list of Issuing <code>Dispute</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\Issuing\Dispute>
+ */
+ public function all($params = null, $opts = null)
+ {
+ return $this->requestCollection('get', '/v1/issuing/disputes', $params, $opts);
+ }
+
+ /**
+ * Creates an Issuing <code>Dispute</code> object. Individual pieces of evidence
+ * within the <code>evidence</code> object are optional at this point. Stripe only
+ * validates that required evidence is present during submission. Refer to <a
+ * href="/docs/issuing/purchases/disputes#dispute-reasons-and-evidence">Dispute
+ * reasons and evidence</a> for more details about evidence requirements.
+ *
+ * @param null|array $params
+ * @param null|array|\Stripe\Util\RequestOptions $opts
+ *
+ * @throws \Stripe\Exception\ApiErrorException if the request fails
+ *
+ * @return \Stripe\Issuing\Dispute
+ */
+ public function create($params = null, $opts = null)
+ {
+ return $this->request('post', '/v1/issuing/disputes', $params, $opts);
+ }
+
+ /**
+ * Retrieves an Issuing <code>Dispute</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\Issuing\Dispute
+ */
+ public function retrieve($id, $params = null, $opts = null)
+ {
+ return $this->request('get', $this->buildPath('/v1/issuing/disputes/%s', $id), $params, $opts);
+ }
+
+ /**
+ * Submits an Issuing <code>Dispute</code> to the card network. Stripe validates
+ * that all evidence fields required for the dispute’s reason are present. For more
+ * details, see <a
+ * href="/docs/issuing/purchases/disputes#dispute-reasons-and-evidence">Dispute
+ * reasons and evidence</a>.
+ *
+ * @param string $id
+ * @param null|array $params
+ * @param null|array|\Stripe\Util\RequestOptions $opts
+ *
+ * @throws \Stripe\Exception\ApiErrorException if the request fails
+ *
+ * @return \Stripe\Issuing\Dispute
+ */
+ public function submit($id, $params = null, $opts = null)
+ {
+ return $this->request('post', $this->buildPath('/v1/issuing/disputes/%s/submit', $id), $params, $opts);
+ }
+
+ /**
+ * Updates the specified Issuing <code>Dispute</code> object by setting the values
+ * of the parameters passed. Any parameters not provided will be left unchanged.
+ * Properties on the <code>evidence</code> object can be unset by passing in an
+ * empty string.
+ *
+ * @param string $id
+ * @param null|array $params
+ * @param null|array|\Stripe\Util\RequestOptions $opts
+ *
+ * @throws \Stripe\Exception\ApiErrorException if the request fails
+ *
+ * @return \Stripe\Issuing\Dispute
+ */
+ public function update($id, $params = null, $opts = null)
+ {
+ return $this->request('post', $this->buildPath('/v1/issuing/disputes/%s', $id), $params, $opts);
+ }
+}
diff --git a/vendor/stripe/stripe-php/lib/Service/Issuing/IssuingServiceFactory.php b/vendor/stripe/stripe-php/lib/Service/Issuing/IssuingServiceFactory.php
index a8d5d0f..89f2c8c 100644
--- a/vendor/stripe/stripe-php/lib/Service/Issuing/IssuingServiceFactory.php
+++ b/vendor/stripe/stripe-php/lib/Service/Issuing/IssuingServiceFactory.php
@@ -1,33 +1,33 @@
-<?php
-
-// File generated from our OpenAPI spec
-
-namespace Stripe\Service\Issuing;
-
-/**
- * Service factory class for API resources in the Issuing namespace.
- *
- * @property AuthorizationService $authorizations
- * @property CardholderService $cardholders
- * @property CardService $cards
- * @property DisputeService $disputes
- * @property TransactionService $transactions
- */
-class IssuingServiceFactory extends \Stripe\Service\AbstractServiceFactory
-{
- /**
- * @var array<string, string>
- */
- private static $classMap = [
- 'authorizations' => AuthorizationService::class,
- 'cardholders' => CardholderService::class,
- 'cards' => CardService::class,
- 'disputes' => DisputeService::class,
- 'transactions' => TransactionService::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\Issuing;
+
+/**
+ * Service factory class for API resources in the Issuing namespace.
+ *
+ * @property AuthorizationService $authorizations
+ * @property CardholderService $cardholders
+ * @property CardService $cards
+ * @property DisputeService $disputes
+ * @property TransactionService $transactions
+ */
+class IssuingServiceFactory extends \Stripe\Service\AbstractServiceFactory
+{
+ /**
+ * @var array<string, string>
+ */
+ private static $classMap = [
+ 'authorizations' => AuthorizationService::class,
+ 'cardholders' => CardholderService::class,
+ 'cards' => CardService::class,
+ 'disputes' => DisputeService::class,
+ 'transactions' => TransactionService::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/Issuing/TransactionService.php b/vendor/stripe/stripe-php/lib/Service/Issuing/TransactionService.php
index 8fb0ee2..04b7a01 100644
--- a/vendor/stripe/stripe-php/lib/Service/Issuing/TransactionService.php
+++ b/vendor/stripe/stripe-php/lib/Service/Issuing/TransactionService.php
@@ -1,59 +1,59 @@
-<?php
-
-// File generated from our OpenAPI spec
-
-namespace Stripe\Service\Issuing;
-
-class TransactionService extends \Stripe\Service\AbstractService
-{
- /**
- * Returns a list of Issuing <code>Transaction</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/issuing/transactions', $params, $opts);
- }
-
- /**
- * Retrieves an Issuing <code>Transaction</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\Issuing\Transaction
- */
- public function retrieve($id, $params = null, $opts = null)
- {
- return $this->request('get', $this->buildPath('/v1/issuing/transactions/%s', $id), $params, $opts);
- }
-
- /**
- * Updates the specified Issuing <code>Transaction</code> object by setting the
- * values of the parameters passed. Any parameters not provided will be left
- * unchanged.
- *
- * @param string $id
- * @param null|array $params
- * @param null|array|\Stripe\Util\RequestOptions $opts
- *
- * @throws \Stripe\Exception\ApiErrorException if the request fails
- *
- * @return \Stripe\Issuing\Transaction
- */
- public function update($id, $params = null, $opts = null)
- {
- return $this->request('post', $this->buildPath('/v1/issuing/transactions/%s', $id), $params, $opts);
- }
-}
+<?php
+
+// File generated from our OpenAPI spec
+
+namespace Stripe\Service\Issuing;
+
+class TransactionService extends \Stripe\Service\AbstractService
+{
+ /**
+ * Returns a list of Issuing <code>Transaction</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\Issuing\Transaction>
+ */
+ public function all($params = null, $opts = null)
+ {
+ return $this->requestCollection('get', '/v1/issuing/transactions', $params, $opts);
+ }
+
+ /**
+ * Retrieves an Issuing <code>Transaction</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\Issuing\Transaction
+ */
+ public function retrieve($id, $params = null, $opts = null)
+ {
+ return $this->request('get', $this->buildPath('/v1/issuing/transactions/%s', $id), $params, $opts);
+ }
+
+ /**
+ * Updates the specified Issuing <code>Transaction</code> object by setting the
+ * values of the parameters passed. Any parameters not provided will be left
+ * unchanged.
+ *
+ * @param string $id
+ * @param null|array $params
+ * @param null|array|\Stripe\Util\RequestOptions $opts
+ *
+ * @throws \Stripe\Exception\ApiErrorException if the request fails
+ *
+ * @return \Stripe\Issuing\Transaction
+ */
+ public function update($id, $params = null, $opts = null)
+ {
+ return $this->request('post', $this->buildPath('/v1/issuing/transactions/%s', $id), $params, $opts);
+ }
+}