Answer:
Neither
Explanation:
When A creates a deal of B paying only $700 now or on 31st December with a written commitment that he will not owe $300, it means A has decided to write off the $300. Had A not created any written document and just asked B to pay $700 now and then later on reminded and demanded $300 it would have been fine. A would still be legally right in maintaining that B still owes the balance $300.
However, giving a written commitment of waving off the $300 on payment of $700 now or by 31st Dec which B accepts and also adheres to by paying means that B has fulfilled the new agreement. As A has only floated the new agreement, he cannot go back from his own statements.