WithdrawalAccessRepository
in package
implements
WithdrawalAccessRepositoryInterface
Class WithdrawalAccessRepository
Tags
Interfaces, Classes and Traits
- WithdrawalAccessRepositoryInterface
- Interface WithdrawalAccessRepositoryInterface
Table of Contents
- $factory : WithdrawalFactory
- $reader : WithdrawalReaderInterface
- __construct() : mixed
- WithdrawalAccessRepository constructor.
- getAll() : WithdrawalCollection
- Returns all withdrawal as collection.
- getById() : Withdrawal
- Returns withdrawal entity by given id.
- _createOrder() : WithdrawalOrder
- Creates with given array an withdrawalOrder.
Properties
$factory
private
WithdrawalFactory
$factory
$reader
private
WithdrawalReaderInterface
$reader
Methods
__construct()
WithdrawalAccessRepository constructor.
public
__construct(WithdrawalFactory $factory, WithdrawalReaderInterface $reader) : mixed
Parameters
- $factory : WithdrawalFactory
- $reader : WithdrawalReaderInterface
Return values
mixed —getAll()
Returns all withdrawal as collection.
public
getAll() : WithdrawalCollection
Return values
WithdrawalCollection —getById()
Returns withdrawal entity by given id.
public
getById(IdType $withdrawalId) : Withdrawal
Parameters
- $withdrawalId : IdType
-
IdType of entity to be returned.
Return values
Withdrawal —_createOrder()
Creates with given array an withdrawalOrder.
private
_createOrder(array<string|int, mixed> $dataSet) : WithdrawalOrder
Parameters
- $dataSet : array<string|int, mixed>