The ProblemFor this article I will use the same requirements and goals defined in part 1. You are hosting your bill processing application for Company A and the new Customer B wants added functionality.Possible SolutionIn the previous version I used the factory pattern and inheritance to extend the base functionality for Company B. In this article I will show how to use the Decorator pattern for extending the functionality.
using