It is not legal; it is fraud. It is also a violation of the Maryland Consumer Protection Act. At a minimum, you are entitled to the cost of repairing the vehicle (if it needs repairs) or the difference between the value of the truck if it had no damage, versus the value with damage. YOu may also be entitled to lawyers fees (if you get legal advice) and punitive damages if you go to court.