IdentityServiceFactory.php
4 years ago
VerificationReportService.php
2 years ago
VerificationSessionService.php
2 years ago
IdentityServiceFactory.php
28 lines
| 1 | <?php |
| 2 | |
| 3 | // File generated from our OpenAPI spec |
| 4 | |
| 5 | namespace Stripe\Service\Identity; |
| 6 | |
| 7 | /** |
| 8 | * Service factory class for API resources in the Identity namespace. |
| 9 | * |
| 10 | * @property VerificationReportService $verificationReports |
| 11 | * @property VerificationSessionService $verificationSessions |
| 12 | */ |
| 13 | class IdentityServiceFactory extends \Stripe\Service\AbstractServiceFactory |
| 14 | { |
| 15 | /** |
| 16 | * @var array<string, string> |
| 17 | */ |
| 18 | private static $classMap = [ |
| 19 | 'verificationReports' => VerificationReportService::class, |
| 20 | 'verificationSessions' => VerificationSessionService::class, |
| 21 | ]; |
| 22 | |
| 23 | protected function getServiceClass($name) |
| 24 | { |
| 25 | return \array_key_exists($name, self::$classMap) ? self::$classMap[$name] : null; |
| 26 | } |
| 27 | } |
| 28 |