public function amountOff()
    {
        if (isset($this->invoice->discount->coupon->amount_off)) {
            return $this->formatAmount($this->invoice->discount->coupon->amount_off);
        }

        return $this->formatAmount(0);
    }
public function amountOff()
    {
        if (isset($this->invoice->discount->coupon->amount_off)) {
            return $this->formatAmount($this->invoice->discount->coupon->amount_off);
        }

        return $this->formatAmount(0);
    }
public function amountOff ( ) { if ( isset ( $ this -> invoice -> discount -> coupon -> amount_off ) ) { return $ this -> formatAmount ( $ this -> invoice -> discount -> coupon -> amount_off ) ; } return $ this -> formatAmount ( 0 ) ; }
Get the discount amount for the invoice.

@return string
Get the discount amount for the invoice .