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