So i came across lightning lead conversion process that allows you to
convert a lead to existing opportunity
and updates the OpportunityId on lead as convertedOpportunityId.
what i'm wondering about is, if we are able to do that via UI, why not with apex. I tried to setOpportunityId in LeadConvert class but throws an error as invalid signature method.
is this still not possible? what am i missing?