Refactoring to create e polimorphic call to getCharge on the new class price