Trade-in rules vary by state.