PluginProbe
GiveWP – Donation Plugin and Fundraising Platform / 4.18.0
GiveWP – Donation Plugin and Fundraising Platform v4.18.0
4.18.0 4.17.0 4.16.9 4.16.8.1 4.16.8 4.16.7.2 4.16.7.1 4.16.7 4.16.6.1 4.16.6 4.16.5.1 4.16.5 4.16.4 4.16.3 4.16.2 4.16.1 4.16.0 4.15.5 4.15.4 4.15.3 4.15.2 4.15.1 4.15.0 2.3.0 2.3.1 All 257 releases
give / vendor / stripe / stripe-php / lib / Service / TestHelpers / TestHelpersServiceFactory.php

TestHelpersServiceFactory.php in GiveWP – Donation Plugin and Fundraising Platform 4.18.0, at vendor/stripe/stripe-php/lib/Service/TestHelpers/TestHelpersServiceFactory.php

30 lines 780 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 // File generated from our OpenAPI spec
4
5 namespace Stripe\Service\TestHelpers;
6
7 /**
8 * Service factory class for API resources in the TestHelpers namespace.
9 *
10 * @property RefundService $refunds
11 * @property Terminal\TerminalServiceFactory $terminal
12 * @property TestClockService $testClocks
13 */
14 class TestHelpersServiceFactory extends \Stripe\Service\AbstractServiceFactory
15 {
16 /**
17 * @var array<string, string>
18 */
19 private static $classMap = [
20 'refunds' => RefundService::class,
21 'terminal' => Terminal\TerminalServiceFactory::class,
22 'testClocks' => TestClockService::class,
23 ];
24
25 protected function getServiceClass($name)
26 {
27 return \array_key_exists($name, self::$classMap) ? self::$classMap[$name] : null;
28 }
29 }
30