California Business and Professions Code Section 17051
CA Bus & Prof Code § 17051 (2017)
Any contract, express or implied, made by any person, firm, or corporation in violation of this chapter is an illegal contract and no recovery thereon shall be had.