The present invention relates to novel heterocyclic compounds of Formulae I: as disclosed herein or a pharmaceutically acceptable salt, solvate, ester, prodrug or stereoisomer thereof. Also disclosed are pharmaceutical compositions comprising said compounds, and methods for using said compounds for treating or preventing a thromboembolic disorder.