ResourceFactory
Table of Contents
-
$classMap
: array<string|int, mixed>
-
$underscoredSegments
: array<string|int, mixed>
-
create()
: mixed
$classMap
private
static array<string|int, mixed>
$classMap
= ['organization' => \Tithely\TransactionService\Core\Resource\OrganizationResource::class, 'payer' => \Tithely\TransactionService\Core\Resource\PayerResource::class, 'transactions' => \Tithely\TransactionService\Core\Resource\TransactionResource::class, 'depositAccounts' => \Tithely\TransactionService\Core\Resource\DepositAccountResource::class, 'paymentMethods' => \Tithely\TransactionService\Core\Resource\PaymentMethodResource::class, 'people' => \Tithely\TransactionService\Core\Resource\PeopleResource::class, 'deposits' => \Tithely\TransactionService\Core\Resource\DepositResource::class, 'refunds' => \Tithely\TransactionService\Core\Resource\RefundResource::class, 'processing' => \Tithely\TransactionService\Core\Resource\ProcessingResource::class, 'payments' => \Tithely\TransactionService\Core\Resource\PaymentResource::class, 'batches' => \Tithely\TransactionService\Core\Resource\BatchResource::class]
$underscoredSegments
private
static array<string|int, mixed>
$underscoredSegments
= ['paymentMethods', 'eventTriggers']
create()
public
static create(string $name, $guzzle[, string $baseUri = '' ][, string $id = '' ]) : mixed
Parameters
-
$name
: string
-
-
$guzzle
:
-
-
$baseUri
: string
= ''
-
-
$id
: string
= ''
-
Return values
mixed
—