wp-user-avatar
/
third-party
/
vendor
/
stripe
/
stripe-php
/
lib
/
Service
/
Issuing
/
IssuingServiceFactory.php
wp-user-avatar
/
third-party
/
vendor
/
stripe
/
stripe-php
/
lib
/
Service
/
Issuing
Last commit date
AuthorizationService.php
2 months ago
CardService.php
2 months ago
CardholderService.php
2 months ago
DisputeService.php
2 months ago
IssuingServiceFactory.php
2 months ago
PersonalizationDesignService.php
2 months ago
PhysicalBundleService.php
2 months ago
TokenService.php
2 months ago
TransactionService.php
2 months ago
IssuingServiceFactory.php
29 lines
| 1 | <?php |
| 2 | |
| 3 | // File generated from our OpenAPI spec |
| 4 | namespace ProfilePressVendor\Stripe\Service\Issuing; |
| 5 | |
| 6 | /** |
| 7 | * Service factory class for API resources in the Issuing namespace. |
| 8 | * |
| 9 | * @property AuthorizationService $authorizations |
| 10 | * @property CardholderService $cardholders |
| 11 | * @property CardService $cards |
| 12 | * @property DisputeService $disputes |
| 13 | * @property PersonalizationDesignService $personalizationDesigns |
| 14 | * @property PhysicalBundleService $physicalBundles |
| 15 | * @property TokenService $tokens |
| 16 | * @property TransactionService $transactions |
| 17 | */ |
| 18 | class IssuingServiceFactory extends \ProfilePressVendor\Stripe\Service\AbstractServiceFactory |
| 19 | { |
| 20 | /** |
| 21 | * @var array<string, string> |
| 22 | */ |
| 23 | private static $classMap = ['authorizations' => AuthorizationService::class, 'cardholders' => CardholderService::class, 'cards' => CardService::class, 'disputes' => DisputeService::class, 'personalizationDesigns' => PersonalizationDesignService::class, 'physicalBundles' => PhysicalBundleService::class, 'tokens' => TokenService::class, 'transactions' => TransactionService::class]; |
| 24 | protected function getServiceClass($name) |
| 25 | { |
| 26 | return \array_key_exists($name, self::$classMap) ? self::$classMap[$name] : null; |
| 27 | } |
| 28 | } |
| 29 |