IdentityServiceFactory.php
4 years ago
VerificationReportService.php
2 years ago
VerificationSessionService.php
2 years ago
VerificationReportService.php
40 lines
| 1 | <?php |
| 2 | |
| 3 | // File generated from our OpenAPI spec |
| 4 | |
| 5 | namespace Stripe\Service\Identity; |
| 6 | |
| 7 | class VerificationReportService extends \Stripe\Service\AbstractService |
| 8 | { |
| 9 | /** |
| 10 | * List all verification reports. |
| 11 | * |
| 12 | * @param null|array $params |
| 13 | * @param null|array|\Stripe\Util\RequestOptions $opts |
| 14 | * |
| 15 | * @throws \Stripe\Exception\ApiErrorException if the request fails |
| 16 | * |
| 17 | * @return \Stripe\Collection<\Stripe\Identity\VerificationReport> |
| 18 | */ |
| 19 | public function all($params = null, $opts = null) |
| 20 | { |
| 21 | return $this->requestCollection('get', '/v1/identity/verification_reports', $params, $opts); |
| 22 | } |
| 23 | |
| 24 | /** |
| 25 | * Retrieves an existing VerificationReport. |
| 26 | * |
| 27 | * @param string $id |
| 28 | * @param null|array $params |
| 29 | * @param null|array|\Stripe\Util\RequestOptions $opts |
| 30 | * |
| 31 | * @throws \Stripe\Exception\ApiErrorException if the request fails |
| 32 | * |
| 33 | * @return \Stripe\Identity\VerificationReport |
| 34 | */ |
| 35 | public function retrieve($id, $params = null, $opts = null) |
| 36 | { |
| 37 | return $this->request('get', $this->buildPath('/v1/identity/verification_reports/%s', $id), $params, $opts); |
| 38 | } |
| 39 | } |
| 40 |