Subiendo proyecto completo sin restricciones de git ignore
This commit is contained in:
43
vendor/stripe/stripe-php/lib/Service/Treasury/TreasuryServiceFactory.php
vendored
Normal file
43
vendor/stripe/stripe-php/lib/Service/Treasury/TreasuryServiceFactory.php
vendored
Normal file
@@ -0,0 +1,43 @@
|
||||
<?php
|
||||
|
||||
// File generated from our OpenAPI spec
|
||||
|
||||
namespace Stripe\Service\Treasury;
|
||||
|
||||
/**
|
||||
* Service factory class for API resources in the Treasury namespace.
|
||||
*
|
||||
* @property CreditReversalService $creditReversals
|
||||
* @property DebitReversalService $debitReversals
|
||||
* @property FinancialAccountService $financialAccounts
|
||||
* @property InboundTransferService $inboundTransfers
|
||||
* @property OutboundPaymentService $outboundPayments
|
||||
* @property OutboundTransferService $outboundTransfers
|
||||
* @property ReceivedCreditService $receivedCredits
|
||||
* @property ReceivedDebitService $receivedDebits
|
||||
* @property TransactionEntryService $transactionEntries
|
||||
* @property TransactionService $transactions
|
||||
*/
|
||||
class TreasuryServiceFactory extends \Stripe\Service\AbstractServiceFactory
|
||||
{
|
||||
/**
|
||||
* @var array<string, string>
|
||||
*/
|
||||
private static $classMap = [
|
||||
'creditReversals' => CreditReversalService::class,
|
||||
'debitReversals' => DebitReversalService::class,
|
||||
'financialAccounts' => FinancialAccountService::class,
|
||||
'inboundTransfers' => InboundTransferService::class,
|
||||
'outboundPayments' => OutboundPaymentService::class,
|
||||
'outboundTransfers' => OutboundTransferService::class,
|
||||
'receivedCredits' => ReceivedCreditService::class,
|
||||
'receivedDebits' => ReceivedDebitService::class,
|
||||
'transactionEntries' => TransactionEntryService::class,
|
||||
'transactions' => TransactionService::class,
|
||||
];
|
||||
|
||||
protected function getServiceClass($name)
|
||||
{
|
||||
return \array_key_exists($name, self::$classMap) ? self::$classMap[$name] : null;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user