1382. A contract is commutative when, at the time it is formed, the extent of the obligations of the parties and of the advantages obtained by them in return is certain and determinate.
When the extent of the obligations or of the advantages is uncertain, the contract is aleatory.