Republican U.S. presidential candidate Donald Trump smiles as he speaks at the start of a campaign victory party after rival candidate Senator Ted Cruz dropped after the race for the Republican presidential nomination, at Trump Tower in Manhattan, New York, U.S., May 3, 2016. REUTERS/Lucas Jackson

WASHINGTON (Reuters) - Donald Trump will testify after the Nov. 8 presidential election in a class-action lawsuit that accuses him and his now-defunct Trump University of defrauding people who paid up to $35,000 for real estate seminars, media reports said on Friday, citing his attorney.

Court documents showed a federal judge ordered the trial to start in San Diego on Nov. 28. This raised the possibility that Trump could take the stand as president-elect but also ensured that he will not have to testify in the case while he campaigns.

The presumptive Republican presidential nominee plans to attend much of the trial and would take the witness stand, Trump lawyer Daniel Petrocelli was quoted as saying by the Associated Press and Los Angeles Times.

Petrocelli did not immediately respond to a request for comment.

Plaintiffs in the lawsuit claim the school lured “student-victims” into its doors, only to defraud them once their checks were cashed.

Another Trump lawyer, Alan Garten, last year called the allegations “totally lacking in any merit” and said that Trump would prevail in the end “whether it be by motion or at trial.”

Trump also faces another lawsuit in Manhattan over Trump University brought by New York Attorney General Eric Schneiderman, which Garten has said is “politically motivated.” Schneiderman is a Democrat.

That fraud lawsuit, filed in 2013, seeks $40 million in restitution plus penalties and other costs.