Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

AccountHandler.php 932B

123456789101112131415161718192021222324252627
  1. <?php
  2. namespace App\Contracts;
  3. use App\Models\Accounting\Account;
  4. use App\ValueObjects\Money;
  5. interface AccountHandler
  6. {
  7. public function getDebitBalance(Account $account, string $startDate, string $endDate): Money;
  8. public function getCreditBalance(Account $account, string $startDate, string $endDate): Money;
  9. public function getNetMovement(Account $account, string $startDate, string $endDate): Money;
  10. public function getStartingBalance(Account $account, string $startDate): ?Money;
  11. public function getEndingBalance(Account $account, string $startDate, string $endDate): ?Money;
  12. public function getBalances(Account $account, string $startDate, string $endDate, array $fields): array;
  13. public function getTotalBalanceForAllBankAccounts(string $startDate, string $endDate): Money;
  14. public function getAccountCategoryOrder(): array;
  15. public function getEarliestTransactionDate(): string;
  16. }