The contract is commutative when each of the parties undertakes to procure for the other a benefit which is regarded as equivalent to that which he receives.
It is random when the parties agree to make the effects of the contract, in terms of the benefits and losses that will result, depend on an uncertain event.