The pertinent language of the extension agreements provides that defendants will not “assert any defense . . . based upon the expiration of any statute of limitations!.]” Defendants contend that this language does not preclude them from raising a defense based on G.S. § l-50(5)1 because this statute has been construed by our courts to be a “statute of repose,” whereas the language of the agreements merely waives defenses based on “statutes of limitation.” Plaintiffs argue that the language of the agreements embraces all statutes of limitation, including the “statute of repose” set forth in G.S. § 1-50(5). Alternatively, plaintiffs contend that G.S. § 1-50(5) is inapplicable because the time limit provided for in that statute had not expired at the time this action was filed. It is unnecessary for us to address these contentions, for we conclude that defendants are estopped as a matter of law from challenging the terms of the extension agreements.
It is well established that the doctrine of equitable estoppel will deny the right to assert a defense based on lapse of time “when delay has been induced by acts, representations, or conduct, the repudiation of which would amount to a breach of good faith.” Duke University v. Stainback, 320 N.C. 337, 357 S.E.2d 690 (1987) (and cases cited therein); see also Stereo Center v. Hodson, 39 N.C. App. 591, 251 S.E.2d 673 (1979). It is equally well established *128that a party who accepts the benefits of a transaction may not thereafter attack the validity of such transaction. Thompson v. Soles, 299 N.C. 484, 263 S.E.2d 599 (1980) (and cases cited therein). Although the question of estoppel is ordinarily one of fact for the jury, it becomes a question of law for the court to determine when a single inference can reasonably be drawn from the undisputed facts. Stereo Center v. Hodson, supra (citing Peek v. Wachovia Bank and Trust Company, 242 N.C. 1, 86 S.E.2d 745 (1955)).
It is undisputed that the initial extension agreements, effective until 1 September 1987, were entered into by the parties (1) in response to defendants’ request, made during the summer of 1985, for an additional opportunity to correct the air conditioning system and (2) out of plaintiffs’ concern that further delay could result in the loss of their claims. It is likewise undisputed that the subsequent extension agreements, effective until 1 November 1988, were entered 'into pursuant to defendants’ additional assurances that further corrective measures would be attempted. Thus, the purpose of the agreements is plain: to preserve the rights and remedies of plaintiffs while affording defendants the additional time they requested in order to attempt corrections of the alleged defects. Public policy favors such agreements as a means of fostering flexibility in the pretrial negotiation process and encouraging alternative resolutions to disputes.
Any delay in bringing the present action was clearly occasioned by plaintiffs’ reliance on defendants’ representations. Moreover, it is undeniable that defendants fully received the benefit of their bargain. By virtue of the multiple extensions of time afforded by the agreements — encompassing well over three additional years — defendants gained the requested time to make corrections to the system. Defendants also gained the concomitant benefit of the financial flexibility to either avoid the expense of litigation upon the successful completion of the corrections, or shift the burden of incurring the costs of litigation to a significantly later date should corrective measures prove unsuccessful.
Defendants are therefore estopped from raising G.S. § 1-50(5) in bar of plaintiffs’ action on two grounds: (1) having made representations upon which plaintiffs relied, defendants may not in good faith repudiate such representations to plaintiffs’ detriment, and (2) having reaped the benefits from the extension agreements, defendants may not now challenge the terms thereof.
*129Summary judgment is appropriate only where there exists no genuine issue as to the material facts and the movant is entitled to judgment as a matter of law. N.C. R. Civ. P., Rule 56. Because defendants are not entitled to summary judgment as a matter of law, the judgment and order entered below must be and are
Judges COZORT and LEWIS concur.