Partial implementation of Receipt interface and Transaction class