In this section:
A security interest in goods is a purchase-money security interest:
To the extent that the goods are purchase-money collateral with respect to that security interest;
If the security interest is in inventory that is or was purchase-money collateral, also to the extent that the security interest secures a purchase-money obligation incurred with respect to other inventory in which the secured party holds or held a purchase-money security interest; and
A security interest in software is a purchase-money security interest to the extent that the security interest also secures a purchase-money obligation incurred with respect to goods in which the secured party holds or held a purchase-money security interest if:
The debtor acquired its interest in the software in an integrated transaction in which it acquired an interest in the goods; and
The debtor acquired its interest in the software for the principal purpose of using the software in the goods.
The security interest of a consignor in goods that are the subject of a consignment is a purchase-money security interest in inventory.
In a transaction other than a consumer-goods transaction, if the extent to which a security interest is a purchase-money security interest depends on the application of a payment to a particular obligation, the payment must be applied:
In accordance with any reasonable method of application to which the parties agree;
In the absence of the parties' agreement to a reasonable method, in accordance with any intention of the obligor manifested at or before the time of payment; or
In the absence of an agreement to a reasonable method and a timely manifestation of the obligor's intention, in the following order:
To obligations that are not secured; and
If more than one (1) obligation is secured, to obligations secured by purchase-money security interests in the order in which those obligations were incurred.
In a transaction other than a consumer-goods transaction, a purchase-money security interest does not lose its status as such, even if:
The purchase-money collateral also secures an obligation that is not a purchase-money obligation;
Collateral that is not purchase-money collateral also secures the purchase-money obligation; or
The purchase-money obligation has been renewed, refinanced, consolidated, or restructured.
In a transaction other than a consumer-goods transaction, a secured party claiming a purchase-money security interest has the burden of establishing the extent to which the security interest is a purchase-money security interest.
The limitation of the rules in subsections (e), (f), and (g) to transactions other than consumer-goods transactions is intended to leave to the court the determination of the proper rules in consumer-goods transactions. The court may not infer from that limitation the nature of the proper rule in consumer-goods transactions and may continue to apply established approaches.