dolibarr/htdocs/includes/stripe/stripe-php/lib/Service/Terminal/TerminalServiceFactory.php

32 lines
872 B
PHP
Raw Permalink Normal View History

2021-01-03 22:37:44 +00:00
<?php
// File generated from our OpenAPI spec
namespace Stripe\Service\Terminal;
/**
* Service factory class for API resources in the Terminal namespace.
*
2023-04-24 16:42:04 +00:00
* @property ConfigurationService $configurations
2021-01-03 22:37:44 +00:00
* @property ConnectionTokenService $connectionTokens
* @property LocationService $locations
* @property ReaderService $readers
*/
class TerminalServiceFactory extends \Stripe\Service\AbstractServiceFactory
{
/**
* @var array<string, string>
*/
private static $classMap = [
2023-04-24 16:42:04 +00:00
'configurations' => ConfigurationService::class,
2021-01-03 22:37:44 +00:00
'connectionTokens' => ConnectionTokenService::class,
'locations' => LocationService::class,
'readers' => ReaderService::class,
];
protected function getServiceClass($name)
{
return \array_key_exists($name, self::$classMap) ? self::$classMap[$name] : null;
}
}