Expand API for recurring transactions.

This commit is contained in:
James Cole
2018-12-07 20:20:54 +01:00
parent 8e4092e7d7
commit f0de469053
7 changed files with 165 additions and 13 deletions

View File

@@ -89,6 +89,15 @@ interface RecurringRepositoryInterface
*/
public function getJournalCount(Recurrence $recurrence, Carbon $start = null, Carbon $end = null): int;
/**
* Get journal ID's for journals created by this recurring transaction.
*
* @param Recurrence $recurrence
*
* @return array
*/
public function getJournalIds(Recurrence $recurrence): array;
/**
* Get the notes.
*