created Receipt class