. */ declare(strict_types=1); namespace FireflyIII\Helpers\Collection; use FireflyIII\Models\Account as AccountModel; /** * Class BalanceEntry. * * @codeCoverageIgnore */ class BalanceEntry { /** @var AccountModel The account. */ protected $account; /** @var string The amount left. */ protected $left = '0'; /** @var string The amount spent. */ protected $spent = '0'; /** * Account getter. * * @return AccountModel */ public function getAccount(): AccountModel { return $this->account; } /** * Account setter. * * @param AccountModel $account */ public function setAccount(AccountModel $account): void { $this->account = $account; } /** * Get amount left. * * @return string */ public function getLeft(): string { return $this->left; } /** * Set amount left. * * @param string $left */ public function setLeft(string $left): void { $this->left = $left; } /** * Get amount spent. * * @return string */ public function getSpent(): string { return $this->spent; } /** * Set amount spent. * * @param string $spent */ public function setSpent(string $spent): void { $this->spent = $spent; } }