ProductDiscount


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.