Getting started.
Replace temp with query.
Extract Method.
Replace temp with query.
Extract Method. Move Method. Add New Method. Add Test.
Move Method.
Added Price classes.
Replace Type Code with State/Strategy
Move Method.
Replace Conditional with Polymorphism.
Replace Conditional with Polymorphism.