Represents an automatic discount that was applied to an order or a cart.
Returns the name of the automatic discount.
Returns the automatic discount’s code.
Returns true if this automatic discount is configured to combine with other automatic discounts, false if it is not.
Returns the discount amount.
Use the currency filter to format the output.