summaryrefslogtreecommitdiffstats
path: root/vendor/stripe/stripe-php/lib/Service/MandateService.php
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/stripe/stripe-php/lib/Service/MandateService.php')
-rw-r--r--vendor/stripe/stripe-php/lib/Service/MandateService.php24
1 files changed, 24 insertions, 0 deletions
diff --git a/vendor/stripe/stripe-php/lib/Service/MandateService.php b/vendor/stripe/stripe-php/lib/Service/MandateService.php
new file mode 100644
index 0000000..156bff0
--- /dev/null
+++ b/vendor/stripe/stripe-php/lib/Service/MandateService.php
@@ -0,0 +1,24 @@
+<?php
+
+// File generated from our OpenAPI spec
+
+namespace Stripe\Service;
+
+class MandateService extends \Stripe\Service\AbstractService
+{
+ /**
+ * Retrieves a Mandate 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\Mandate
+ */
+ public function retrieve($id, $params = null, $opts = null)
+ {
+ return $this->request('get', $this->buildPath('/v1/mandates/%s', $id), $params, $opts);
+ }
+}