Methods |
public
|
setHttpClient(?ClientInterface $oPsrHttpClient): self
|
#
|
public
|
getHttpClient(): ?ClientInterface
|
#
|
public
|
setupAllClients($httpClient = null, array $additionalPlugins = [], array $additionalNormalizers = []): self
|
#
|
public
|
setupTeamClient(
ClientInterface|null $httpClient = null,
Plugin[] $additionalPlugins = [],
array $additionalNormalizers = [],
): Client
Sets Up the Team client
|
#
|
public
|
getTeamClient(): Client
|
#
|
public
|
setupBudgetsClient(
ClientInterface|null $httpClient = null,
Plugin[] $additionalPlugins = [],
array $additionalNormalizers = [],
): Client
Sets Up the Budgets client
Sets Up the Budgets client
|
#
|
public
|
getBudgetsClient(): Client
|
#
|
public
|
setupExpensesClient(
ClientInterface|null $httpClient = null,
Plugin[] $additionalPlugins = [],
array $additionalNormalizers = [],
): Client
Sets Up the Expenses client
Sets Up the Expenses client
|
#
|
public
|
getExpensesClient(): Client
|
#
|
public
|
setupPaymentsClient(
ClientInterface|null $httpClient = null,
Plugin[] $additionalPlugins = [],
array $additionalNormalizers = [],
): Client
Sets Up the Payments client
Sets Up the Payments client
|
#
|
public
|
getPaymentsClient(): Client
|
#
|
public
|
setupTransactionsClient(
ClientInterface|null $httpClient = null,
Plugin[] $additionalPlugins = [],
array $additionalNormalizers = [],
): Client
Sets Up the Transactions client
Sets Up the Transactions client
|
#
|
public
|
getTransactionsClient(): Client
|
#
|
public
|
setupWebhooksClient(
ClientInterface|null $httpClient = null,
Plugin[] $additionalPlugins = [],
array $additionalNormalizers = [],
): Client
Sets Up the Webhooks client
Sets Up the Webhooks client
|
#
|
public
|
getWebhooksClient(): Client
|
#
|
public
|
setAuthKey(string $sBearerToken): self
Load your Brex token here
Load your Brex token here
|
#
|
public
|
getHttpPlugins(): array
Gets HttpPlugins
|
#
|
public
|
addHttpPlugin(Plugin $oHttpPlugin): self
Adds a HttpPlugin
|
#
|
public
|
resetHttpPlugins(): void
clears Http Plugins
|
#
|