Describes a product discount.
amount
Returns the discount amount.
begins
Returns the start date if it is set.
ends
Returns the end date if it is set.
is_percentage
Returns true if discount is a percentage.
Describes a product discount.
Returns the discount amount.
Returns the start date if it is set.
Returns the end date if it is set.
Returns true if discount is a percentage.