Ukraine winger Andriy Yarmolenko is set to leave West Ham when his contract runs out at the end of June.