Initial Commit
This commit is contained in:
26
dependencies/stripe/stripe-php/lib/Service/TestHelpers/TestHelpersServiceFactory.php
vendored
Normal file
26
dependencies/stripe/stripe-php/lib/Service/TestHelpers/TestHelpersServiceFactory.php
vendored
Normal file
@ -0,0 +1,26 @@
|
||||
<?php
|
||||
|
||||
// File generated from our OpenAPI spec
|
||||
namespace WP_Ultimo\Dependencies\Stripe\Service\TestHelpers;
|
||||
|
||||
/**
|
||||
* Service factory class for API resources in the TestHelpers namespace.
|
||||
*
|
||||
* @property CustomerService $customers
|
||||
* @property Issuing\IssuingServiceFactory $issuing
|
||||
* @property RefundService $refunds
|
||||
* @property Terminal\TerminalServiceFactory $terminal
|
||||
* @property TestClockService $testClocks
|
||||
* @property Treasury\TreasuryServiceFactory $treasury
|
||||
*/
|
||||
class TestHelpersServiceFactory extends \WP_Ultimo\Dependencies\Stripe\Service\AbstractServiceFactory
|
||||
{
|
||||
/**
|
||||
* @var array<string, string>
|
||||
*/
|
||||
private static $classMap = ['customers' => CustomerService::class, 'issuing' => Issuing\IssuingServiceFactory::class, 'refunds' => RefundService::class, 'terminal' => Terminal\TerminalServiceFactory::class, 'testClocks' => TestClockService::class, 'treasury' => Treasury\TreasuryServiceFactory::class];
|
||||
protected function getServiceClass($name)
|
||||
{
|
||||
return \array_key_exists($name, self::$classMap) ? self::$classMap[$name] : null;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user