A method of discharging a claim upon agreement by the parties to give and accept something in settlement of the claim.