WithdrawalRepository

Implements \WithdrawalRepositoryInterface

Class WithdrawalRepository

category

System

package

Withdrawal

subpackage

Repositories

Methods

WithdrawalRepository constructor.

__construct(\WithdrawalWriterInterface $writer, \WithdrawalDeleterInterface $deleter) 

Deletes withdrawal entity from database

delete(\WithdrawalInterface $withdrawal) : $this|\WithdrawalRepositoryInterface

Arguments

$withdrawal

\WithdrawalInterface

Withdrawal entity to be deleted.

Response

$this|\WithdrawalRepositoryInterface

Same instance for chained method calls.

Saves withdrawal entity in database.

store(\WithdrawalInterface $withdrawal) : $this|\WithdrawalRepositoryInterface

Arguments

$withdrawal

\WithdrawalInterface

Withdrawal entity to be saved.

Response

$this|\WithdrawalRepositoryInterface

Same instance for chained method calls.

Properties

writer

writer : \WithdrawalWriterInterface

deleter

deleter : \WithdrawalDeleterInterface