You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

AccountHandler.php 877B

12345678910111213141516171819202122232425
  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 getEarliestTransactionDate(): string;
  15. }