Extract Method amountFor from switch statement in Customer.statement()
Rename Customer.amountFor parameter and rename a local variable
Move method Customer.amountFor to Rental.getCharge

Also renaming the method and removing its parameter.
Replace temp with query
Extract Method getFrequentRenterPoints() from Customer.statement()
Replace Temp with query for totalAmount
Also replace temp for frequentRenterPoints
Move methods around