There was no official definition of "Gentleman" -- anyone could call themselves that
But it generally meant that one did not have to work for a living -- so if he amassed enough wealth either by inheritance, marriage or savings to not have to work, then he could easily call himself gentleman, no matter what his previous status in life -- as reference my second hand clothes dealer mentioned in my earlier post