add member methods for billDetailer class

well, try to make the code elegant