Exchange transaction question

This might be a dumb question, but say there is a 3 year exchange transaction agreement where there is a payment schedule that decreases over the three years. How does one account for the expense side of this? Is it straight-lined?