WithdrawalReadService

Implements \WithdrawalReadServiceInterface

Class WithdrawalReadService

category

System

package

Withdrawal

subpackage

Services

Methods

WithdrawalReadService constructor.

__construct(\WithdrawalAccessRepositoryInterface $repository) 

Arguments

Returns withdrawal entities as collection.

getAll() : \WithdrawalCollection

Returns withdrawal entity by given id.

getById(\IdType $withdrawalId) : \Withdrawal

Arguments

$withdrawalId

\IdType

Response

\Withdrawal

Properties

repository

repository : \WithdrawalAccessRepositoryInterface