WithdrawalReadService
in package
implements
WithdrawalReadServiceInterface
Class WithdrawalReadService
Tags
Interfaces, Classes and Traits
- WithdrawalReadServiceInterface
- Interface WithdrawalReadServiceInterface
Table of Contents
- $repository : WithdrawalAccessRepositoryInterface
- __construct() : mixed
- WithdrawalReadService constructor.
- getAll() : WithdrawalCollection
- Returns withdrawal entities as collection.
- getById() : Withdrawal
- Returns withdrawal entity by given id.
Properties
$repository
private
WithdrawalAccessRepositoryInterface
$repository
Methods
__construct()
WithdrawalReadService constructor.
public
__construct(WithdrawalAccessRepositoryInterface $repository) : mixed
Parameters
- $repository : WithdrawalAccessRepositoryInterface
Return values
mixed —getAll()
Returns withdrawal entities as collection.
public
getAll() : WithdrawalCollection
Return values
WithdrawalCollection —getById()
Returns withdrawal entity by given id.
public
getById(IdType $withdrawalId) : Withdrawal
Parameters
- $withdrawalId : IdType