A licensee or an owner, partner, member, officer, director, trustee, employee, agent, broker or representative of the licensee who violates a provision of this chapter or directs a violation of this chapter commits a violation of this chapter, and shall, upon conviction, be sentenced at the discretion of the court to the following:
12 Pa.C.S. § 6272