The object of a contract is the thing which it is agreed, on the part of the party receiving the consideration, to do or not to do.
R.L.1910, § 921.