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