PluginProbe
Booktics – Appointment Booking Calendar for Service Businesses / 1.0.29
Booktics – Appointment Booking Calendar for Service Businesses v1.0.29
1.0.29 1.0.28 1.0.27 1.0.26 1.0.25 1.0.24 1.0.23 1.0.22 1.0.21 1.0.20 1.0.19 trunk 1.0.0 1.0.1 1.0.10 1.0.11 1.0.12 1.0.13 1.0.14 1.0.15 1.0.16 1.0.17 1.0.18 1.0.2 1.0.3 All 31 releases
booktics / vendor / stripe / stripe-php / lib / Service / Terminal / TerminalServiceFactory.php

TerminalServiceFactory.php in Booktics – Appointment Booking Calendar for Service Businesses 1.0.29, 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