refactoring moving print of customer statement in separate class