Former US President Donald Trump now must answer questions under oath in New York's civil investigation into his business practices.