discount obj enum using category