PluginProbe
Charitable – Donation & Fundraising Platform (Donation Forms, Recurring Donations & Fundraising Campaigns) / 1.8.13
Charitable – Donation & Fundraising Platform (Donation Forms, Recurring Donations & Fundraising Campaigns) v1.8.13
1.8.13.1 1.8.13 1.8.12.3 1.8.12.2 1.8.12.1 1.8.12 1.8.11.3 1.8.11.2 1.8.11.1 1.8.11 1.6.6 1.6.60 1.6.7 1.6.8 1.6.9 1.7.0 1.7.0.1 1.7.0.11 1.7.0.12 1.7.0.14 1.7.0.2 1.7.0.3 1.7.0.5 1.7.0.6 1.7.0.7 All 212 releases
charitable / vendor / stripe / stripe-php / lib / Service / Treasury / TreasuryServiceFactory.php

TreasuryServiceFactory.php in Charitable – Donation & Fundraising Platform (Donation Forms, Recurring Donations & Fundraising Campaigns) 1.8.13, at vendor/stripe/stripe-php/lib/Service/Treasury/TreasuryServiceFactory.php

44 lines 1.6 KB
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\Treasury;
6
7 /**
8 * Service factory class for API resources in the Treasury namespace.
9 *
10 * @property CreditReversalService $creditReversals
11 * @property DebitReversalService $debitReversals
12 * @property FinancialAccountService $financialAccounts
13 * @property InboundTransferService $inboundTransfers
14 * @property OutboundPaymentService $outboundPayments
15 * @property OutboundTransferService $outboundTransfers
16 * @property ReceivedCreditService $receivedCredits
17 * @property ReceivedDebitService $receivedDebits
18 * @property TransactionEntryService $transactionEntries
19 * @property TransactionService $transactions
20 */
21 class TreasuryServiceFactory extends \Stripe\Service\AbstractServiceFactory
22 {
23 /**
24 * @var array<string, string>
25 */
26 private static $classMap = [
27 'creditReversals' => CreditReversalService::class,
28 'debitReversals' => DebitReversalService::class,
29 'financialAccounts' => FinancialAccountService::class,
30 'inboundTransfers' => InboundTransferService::class,
31 'outboundPayments' => OutboundPaymentService::class,
32 'outboundTransfers' => OutboundTransferService::class,
33 'receivedCredits' => ReceivedCreditService::class,
34 'receivedDebits' => ReceivedDebitService::class,
35 'transactionEntries' => TransactionEntryService::class,
36 'transactions' => TransactionService::class,
37 ];
38
39 protected function getServiceClass($name)
40 {
41 return \array_key_exists($name, self::$classMap) ? self::$classMap[$name] : null;
42 }
43 }
44