There's no direct way to transfer your QuickBooks Online company data to QuickBooks Desktop. You'd have to export your data and import it in QuickBooks.
Once exported, you can review each file then import it. Depending on the information, there are different ways to import your data.
Let me know if you have other questions about managing your QuickBooks company file.