Struct used for store transaction data.