Share via


RetailDiscountLineOffer.applyDiscount Method

Applies the discount on the price based on the discount method defined for the discount offer.

Syntax

public real applyDiscount(real _price)

Run On

Called

Parameters

  • _price
    Type: real
    The given price value.

Return Value

Type: real
The price after discounted amount.

Remarks

If the price passed is 0, it returns 0.

See Also

Reference

RetailDiscountLineOffer Table