2014-07-03 21:31:32 +02:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace Firefly\Storage\TransactionJournal;
|
|
|
|
|
|
|
|
|
2014-07-06 15:18:11 +02:00
|
|
|
interface TransactionJournalRepositoryInterface
|
|
|
|
{
|
2014-07-03 21:31:32 +02:00
|
|
|
public function createSimpleJournal(\Account $from, \Account $to, $description, $amount, \Carbon\Carbon $date);
|
|
|
|
|
2014-07-06 21:07:52 +02:00
|
|
|
public function get();
|
|
|
|
|
|
|
|
public function getByAccount(\Account $account, $count = 25);
|
|
|
|
|
2014-07-09 12:56:06 +02:00
|
|
|
public function homeBudgetChart(\Carbon\Carbon $start, \Carbon\Carbon $end);
|
2014-07-15 22:16:29 +02:00
|
|
|
|
2014-07-09 12:56:06 +02:00
|
|
|
public function homeCategoryChart(\Carbon\Carbon $start, \Carbon\Carbon $end);
|
2014-07-15 22:16:29 +02:00
|
|
|
|
2014-07-09 12:56:06 +02:00
|
|
|
public function homeBeneficiaryChart(\Carbon\Carbon $start, \Carbon\Carbon $end);
|
|
|
|
|
|
|
|
public function homeComponentChart(\Carbon\Carbon $start, \Carbon\Carbon $end, $chartType);
|
|
|
|
|
2014-07-06 21:07:52 +02:00
|
|
|
}
|