DepositAccountFinder
in package
implements
FinderInterface
Uses
ValidatesQueryTrait
Tags
Interfaces, Classes, Traits and Enums
Table of Contents
- $client : Client
- __construct() : mixed
- buildQueryString() : array<string|int, mixed>
- Build an array of query params to be sent in the call
- find() : DepositAccountList|null
- Find deposit accounts
- findOne() : DomainObjectInterface|null
- Find one deposit account
- validateQuery() : mixed
Properties
$client
private
Client
$client
Tags
Methods
__construct()
public
__construct(Client $client) : mixed
Parameters
- $client : Client
Tags
Return values
mixed —buildQueryString()
Build an array of query params to be sent in the call
public
buildQueryString(Query $query) : array<string|int, mixed>
Parameters
- $query : Query
Tags
Return values
array<string|int, mixed> —find()
Find deposit accounts
public
find(Query $query) : DepositAccountList|null
Query parameter must have the following value:
organization_id: <string> T-hub Organization UUID
Query parameter can have the following value:
location_id: <string> T-hub Location UUID
Parameters
- $query : Query
Tags
Return values
DepositAccountList|null —findOne()
Find one deposit account
public
findOne(Query $query) : DomainObjectInterface|null
Query parameter must have the following value:
organization_id: <string> T-hub Organization UUID
Query parameter can have the following value:
id: <string> e.g. dpa_268e92dba21f8f12a241ce38dd3a
Parameters
- $query : Query
Tags
Return values
DomainObjectInterface|null —validateQuery()
public
validateQuery(Query $query, array<string|int, mixed> $requiredParameters) : mixed
Parameters
- $query : Query
- $requiredParameters : array<string|int, mixed>