[di] fix payment class parameter after moving classes to core namespace.