First, if G is non abelian, |Z|<pq. It is not necessary that |Z|=1.
I think this is correct:
If we assume that G does not have an element of order p, then |Z(x)|=q for all x not in the center, where Z(x) is the centralizer of x. Then |C(x)|=p for all x not in the center. Then the class...