Purchase contract as stated in the Civil code