All things which are not outside the commerce of men, including future things, may be the object of a contract. All rights which are not intransmissible may also be the object of contracts.
No contract may be entered into upon future inheritance except in cases expressly authorized by law.
All services which are not contrary to law, morals, good customs, public order or public policy may likewise be the object of a contract. (1271a)