10#ifndef PERSONALFINANCE_INCOME_H
11#define PERSONALFINANCE_INCOME_H
This class is used to store income objects.
Definition: Income.h:20
string getDate()
Returns the date of the income.
void setAmount(Money m)
Sets the amount of the income.
void setDate(string d)
Sets the date of the income.
Income(string d, Money m)
Constructor based on a date and monetary amount.
Money getAmount()
Returns the amount of the income.
Income(Money m)
Constructor based on a monetary amount.
void toString()
Converts the income object into a string.
The Money class is used to allow operations on Money.
Definition: Money.h:27