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