Oxidation is the loss of electrons or an increase in oxidation state by a molecule, atom, or ion. Reduction is the gain of electrons or a decrease in oxidation state by a molecule, atom, or ion.
Here,
Sn4++2e−→Sn2+
Sn+4 accepts two electrons and forms Sn+2 so its a reduction process.