Balances
in package
Client operations for Inttegro balances.
Request arrays use the API's documented snake_case field names. Responses
are returned as immutable values from the corresponding singular namespace.
Table of Contents
Methods
- __construct() : mixed
- Creates the balances resource client.
- get() : Balance
- Retrieves the current balance.
Methods
__construct()
Creates the balances resource client.
public
__construct(HttpClient $http) : mixed
Parameters
- $http : HttpClient
-
Shared authenticated HTTP transport used by this resource client.
get()
Retrieves the current balance.
public
get() : Balance
Sends the documented request through the shared authenticated transport and hydrates the successful response into the declared return type.
Return values
Balance —The resulting balance.