Apply a dollar amount or percent-based discount to a dollar amount.