Method |
Description |
|
calculateBalance ( array | mixed $account ) : integer | float |
Calculates current account balance summarizing all related transactions. |
|
decrease ( array | mixed $account, integer | float $amount, array $data = [] ) : mixed |
Decreases account current balance ('credit' operation). |
|
increase ( array | mixed $account, integer | float $amount, array $data = [] ) : mixed |
Increases account current balance ('debit' operation). |
|
revert ( mixed $transactionId, array $data = [] ) : array | mixed |
Reverts specified transaction. |
|
transfer ( array | mixed $from, array | mixed $to, integer | float $amount, array $data = [] ) : array |
Transfers amount from one account to the other one. |
|