1507. The fulfillment of a suspensive condition obliges the debtor to perform the obligation, as though it had existed from the day on which he obligated himself under that condition.
The fulfillment of a resolutory condition obliges each party to return to the other the prestations he has received pursuant to the obligation, as though the obligation had never existed.