This type of agreement would be called a consideration. This is an agreement that provides a type of value to both parties involved and promises a certain performance by one party to the other. In this case, one thing is given for another, the money for the car.