phpDocumentor

WithdrawalRepository extends AbstractEventDispatchingRepository implements WithdrawalRepository

Class WithdrawalRepository

Interfaces, Classes and Traits

WithdrawalRepository
Interface WithdrawalRepository

Table of Contents

$eventDispatcher  : EventDispatcherInterface
$mapper  : WithdrawalMapper
$reader  : WithdrawalReader
$writer  : WithdrawalWriter
__construct()  : mixed
WithdrawalRepository constructor.
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.
dispatchEntityEvents()  : void
dispatchEvent()  : void
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.
setEventDispatcher()  : void

Properties

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
inheritDoc
Return values
WithdrawalIds

getWithdrawalsTotalCount()

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

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

setEventDispatcher()

protected setEventDispatcher(EventDispatcherInterface $eventDispatcher) : void
Parameters
$eventDispatcher : EventDispatcherInterface
Return values
void

Search results