The payment of any amount in money, credit, goods or things in action, as consideration for any sale or assignment of, or order for, the payment of wages, salary, commission, or other compensation for services, whether earned or to be earned, shall for the purposes of this chapter be deemed a loan of money secured by the sale, assignment or order. The amount by which the compensation so sold, assigned or ordered paid exceeds the amount of consideration actually paid (i) shall be deemed for the purpose of this chapter to be interest upon the loan from the date of the payment to the date the compensation is payable and (ii) shall not, in any case, be more than is sufficient to yield, to the person making the loan, interest on his investment at the annual rate of 10 percent. Such transaction shall in all other respects be governed by and subject to the provisions of this chapter.
Va. Code § 6.2-1525