As used in this chapter, “premium finance agreement” means a loan contract, note, agreement or obligation by which an insured agrees to pay to a company in installments the principal amount advanced by the company to an insurer or producer in payment of premium on an insurance contract or contracts, plus charges, with the assignment as security therefor of the unearned premiums, accrued dividends or loss payments, the final installment due date of the agreement not to extend beyond the term of the insurance contract included in the agreement having the latest expiration date.