PluginProbe
GiveWP – Donation Plugin and Fundraising Platform / 4.15.2
GiveWP – Donation Plugin and Fundraising Platform v4.15.2
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 2.3.2 2.30.0 All 255 releases
give / vendor / stripe / stripe-php / lib / Service / Terminal / TerminalServiceFactory.php

TerminalServiceFactory.php in GiveWP – Donation Plugin and Fundraising Platform 4.15.2, at vendor/stripe/stripe-php/lib/Service/Terminal/TerminalServiceFactory.php

32 lines 872 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\Terminal;
6
7 /**
8 * Service factory class for API resources in the Terminal namespace.
9 *
10 * @property ConfigurationService $configurations
11 * @property ConnectionTokenService $connectionTokens
12 * @property LocationService $locations
13 * @property ReaderService $readers
14 */
15 class TerminalServiceFactory extends \Stripe\Service\AbstractServiceFactory
16 {
17 /**
18 * @var array<string, string>
19 */
20 private static $classMap = [
21 'configurations' => ConfigurationService::class,
22 'connectionTokens' => ConnectionTokenService::class,
23 'locations' => LocationService::class,
24 'readers' => ReaderService::class,
25 ];
26
27 protected function getServiceClass($name)
28 {
29 return \array_key_exists($name, self::$classMap) ? self::$classMap[$name] : null;
30 }
31 }
32