PriceDiscount

Extends Price. Represents the discount value between two Prices. Unlike the Money object the PriceDiscount object is aware of taxation and also the price values before and after discount.

Methods
now()

Returns Price

The new price after discount.

percentage()

Returns Currency

The currency for the Price object.

was()

Returns Price

The original price before discount.