An obligation is created by entering into a contract.