Is filing a preliminary injunction and having a two-day hearing for under $7,000 too expensive?

Client was about two months late for his payment. I filed a preliminary injunction related to a land use dispute. Filed all the paperwork, had a two-day hearing with about 10 witnesses total on both sides, court took it under advisement. I was thinking he would wait until the result came out then if we lost, not pay. So I followed up relentlessly and he eventually paid. 22.5 hours at $300/hour for $6,750. He said "I've dealt with lots of attorneys. Compared to other attorneys, you're very expensive." I was like, "okay... that was the agreement we made though and that's what I charge everyone for this type of case." He paid, but I just wanted to see if my rates are reasonable. I'm a solo with 7 years of experience. Don't want to give my location, but interested to know what others might think is more reasonable than this.

EDIT: Thanks for all the responses!