This PR links Reserve categories and Income categories together using an Allocation that can be extended if/when future linkages between category types are required. It uses the visitor pattern to keep the allocation logic in the Allocation class and its children, rather than putting cross-category allocation logic in the categories themselves.
This PR links Reserve categories and Income categories together using an Allocation that can be extended if/when future linkages between category types are required. It uses the visitor pattern to keep the allocation logic in the Allocation class and its children, rather than putting cross-category allocation logic in the categories themselves.