Class-based polymorphism for bill view