(1) In an action upon a contract, express or implied for the direct payment of money, and which is not secured by mortgage, lien, or pledge upon real or personal property, or, if so secured, when such security has been rendered nugatory by the act of the defendant.
(2) In an action upon a contract, express or implied, against a defendant not residing in the Virgin Islands.