Commodity Swaps - different discount rates

Quick question - in a commodity swap when given the PV at initiation but solving for X (PMT) to give the swap rate per unit how do we deal with different discount rates? Is it possible to enter multiple discount rates into an HP 12c to calculate this? This is solution 1, reading 32, page 156. I must be missing something.