Refactoring: Polymorphism

Replacing the Conditional Logic on Price Code with Polymorphism