fix online payment response class definition