A money judgment of a court of this state on a contract that provides for interest or time price differential earns postjudgment interest at a rate equal to the lesser of:
(1) the rate specified in the contract, which may be a variable rate; or
(2) 18 percent a year.