phpDocumentor

WithdrawalRepository

Interface WithdrawalRepository

Table of Contents

createMultipleWithdrawals()  : WithdrawalIds
Creates multiple withdrawals and returns their IDs.
createWithdrawal()  : WithdrawalId
Creates a new withdrawals and returns its ID.
deleteWithdrawals()  : void
Deletes withdrawals based on the given IDs.
filterWithdrawals()  : Withdrawals
Returns a filtered and paginated collection of withdrawals based on the given filter and sorting arguments.
getAllWithdrawals()  : Withdrawals
Returns all available withdrawals.
getWithdrawalById()  : Withdrawal
Returns a specific withdrawals based on the given ID.
getWithdrawalsTotalCount()  : int
Returns total count of withdrawals based on the given filter arguments.
storeWithdrawals()  : void
Stores multiple withdrawals.

Methods

createMultipleWithdrawals()

Creates multiple withdrawals and returns their IDs.

public createMultipleWithdrawals(array<string|int, mixed> ...$creationArguments) : WithdrawalIds
Parameters
$creationArguments : array<string|int, mixed>

Provided array must contain arguments like they are used in the single creation method. Provide multiple arrays for multi creation.

Tags
throws
CreationOfWithdrawalFailedException
Return values
WithdrawalIds

getWithdrawalsTotalCount()

Returns total count of withdrawals based on the given filter arguments.

public getWithdrawalsTotalCount(Filters $criteria) : int
Parameters
$criteria : Filters
Return values
int

Search results