All contracts and writings, except such as are governed by the Uniform Commercial Code, and paper issued to circulate as money, are subject to all payments, setoffs, and discounts had or possessed against the same previous to notice of an assignment or transfer.
Ala. Code § 8-5-25 (1975)