public function getDiscount(bool $ati = false): float
    {
        return $ati ? $this->ati($this->discount) : $this->discount;
    }
public function getDiscount(bool $ati = false): float
    {
        return $ati ? $this->ati($this->discount) : $this->discount;
    }
Returns the discount.

@param bool $ati

@return float