quasi-contractual relationship — Legal Definition, Examples & Cases