(a) The offense of buying and selling in regard to offices is committed when:
(1) Any person holding any office, or being elected to any office:
(A) Enters into any bargain and sale for any valuable consideration whatever in regard to the office;
(B) Sells, resigns or vacates the office for any pecuniary consideration whatever; or
(C) Refuses to qualify and enter upon the discharge of the duties of the office, by reason of any pecuniary consideration; or
(2) Any person:
(A) Offers to buy any office by inducing the incumbent officer to resign, to vacate, or not to qualify; or
(B) Directly or indirectly engages in corruptly procuring the resignation of any officer for any pecuniary or other valuable consideration.
(b) Buying and selling in regard to offices is a Class C felony.