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