Refactoring - Chapter 1 - 10 - 3 - Replacing Conditional with Polymorphism.
Self encapsulate field to make all wirte access of Movie.priceCode go through the setter method.
Refactoring - Chapter 1 - 10 - 4 - Replacing Conditional with Polymorphism.
Created class to represent different prices codes, working towards replace type code with state. The Price is the "state" object here,
Refactoring - Chapter 1 - 10 - 5 - Replacing Conditional with Polymorphism.
Replace type code with state/strategy. Wiring up the sub-classes in a basic form. In preparation for replace conditional with polymorphism.
Refactoring - Chapter 1 - 10 - 6 - Replacing Conditional with Polymorphism.
Move getCharge method to Price. Left the delegate method in Movie though.