IdentityServiceFactory.php 742 B

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