FinanceSim 0.1.0
Financial Simulation Library
Loading...
Searching...
No Matches
checking_account.hpp
Go to the documentation of this file.
1#pragma once
2
4
5namespace financesim {
6
9public:
16 CheckingAccount(std::string id, std::string name,
17 double initial_balance = 0.0,
18 std::string routing_tag = "default",
20 ~CheckingAccount() override = default;
21};
22
23} // namespace financesim
const std::string & name() const override
Human-readable name/description.
const std::string & routing_tag() const
Get the routing tag used to match income/expense events.
void emit(SimTime time, Args &&... args)
const Schedule & schedule() const override
Get the model's execution schedule.
Checking account - the default income recipient, no interest earned.
~CheckingAccount() override=default
Schedule make_account_schedule()
Helper to create default schedule for accounts (no periodic updates)