item class changed to transaction and added item condition enum type