summaryrefslogtreecommitdiffstats
path: root/vendor/stripe/stripe-php/lib/Service/OrderReturnService.php
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--vendor/stripe/stripe-php/lib/Service/OrderReturnService.php84
1 files changed, 42 insertions, 42 deletions
diff --git a/vendor/stripe/stripe-php/lib/Service/OrderReturnService.php b/vendor/stripe/stripe-php/lib/Service/OrderReturnService.php
index 6183166..8f26e20 100644
--- a/vendor/stripe/stripe-php/lib/Service/OrderReturnService.php
+++ b/vendor/stripe/stripe-php/lib/Service/OrderReturnService.php
@@ -1,42 +1,42 @@
-<?php
-
-// File generated from our OpenAPI spec
-
-namespace Stripe\Service;
-
-class OrderReturnService extends \Stripe\Service\AbstractService
-{
- /**
- * Returns a list of your order returns. The returns are returned sorted by
- * creation date, with the most recently created return 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/order_returns', $params, $opts);
- }
-
- /**
- * Retrieves the details of an existing order return. Supply the unique order ID
- * from either an order return creation request or the order return list, and
- * Stripe will return the corresponding order information.
- *
- * @param string $id
- * @param null|array $params
- * @param null|array|\Stripe\Util\RequestOptions $opts
- *
- * @throws \Stripe\Exception\ApiErrorException if the request fails
- *
- * @return \Stripe\OrderReturn
- */
- public function retrieve($id, $params = null, $opts = null)
- {
- return $this->request('get', $this->buildPath('/v1/order_returns/%s', $id), $params, $opts);
- }
-}
+<?php
+
+// File generated from our OpenAPI spec
+
+namespace Stripe\Service;
+
+class OrderReturnService extends \Stripe\Service\AbstractService
+{
+ /**
+ * Returns a list of your order returns. The returns are returned sorted by
+ * creation date, with the most recently created return 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\OrderReturn>
+ */
+ public function all($params = null, $opts = null)
+ {
+ return $this->requestCollection('get', '/v1/order_returns', $params, $opts);
+ }
+
+ /**
+ * Retrieves the details of an existing order return. Supply the unique order ID
+ * from either an order return creation request or the order return list, and
+ * Stripe will return the corresponding order information.
+ *
+ * @param string $id
+ * @param null|array $params
+ * @param null|array|\Stripe\Util\RequestOptions $opts
+ *
+ * @throws \Stripe\Exception\ApiErrorException if the request fails
+ *
+ * @return \Stripe\OrderReturn
+ */
+ public function retrieve($id, $params = null, $opts = null)
+ {
+ return $this->request('get', $this->buildPath('/v1/order_returns/%s', $id), $params, $opts);
+ }
+}