mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-23 04:46:44 +00:00
45 lines
818 B
PHP
45 lines
818 B
PHP
![]() |
<?php
|
||
|
|
||
|
namespace FireflyIII\Helper\TransactionJournal;
|
||
|
|
||
|
use Illuminate\Support\Collection;
|
||
|
|
||
|
/**
|
||
|
* Interface HelperInterface
|
||
|
*
|
||
|
* @package FireflyIII\Helper\TransactionJournal
|
||
|
*/
|
||
|
interface HelperInterface
|
||
|
{
|
||
|
/**
|
||
|
*
|
||
|
* Get the account_id, which is the asset account that paid for the transaction.
|
||
|
*
|
||
|
* @param string $what
|
||
|
* @param Collection $transactions
|
||
|
*
|
||
|
* @return int
|
||
|
*/
|
||
|
public function getAssetAccount($what, Collection $transactions);
|
||
|
|
||
|
/**
|
||
|
* @return Collection
|
||
|
*/
|
||
|
public function getAssetAccounts();
|
||
|
|
||
|
/**
|
||
|
* @return Collection
|
||
|
*/
|
||
|
public function getBudgets();
|
||
|
|
||
|
/**
|
||
|
* @return Collection
|
||
|
*/
|
||
|
public function getPiggyBanks();
|
||
|
|
||
|
/**
|
||
|
* @return Collection
|
||
|
*/
|
||
|
public function getRepeatedExpenses();
|
||
|
|
||
|
}
|