src/Joomla/VirtueMart/Invoice/Creator.php
protected function getCouponCodeDiscountLine()
    {
        $result = array(
            Tag::ItemNumber => $this->order['details']['BT']->coupon_code,
            Tag::Product => $this->t('discount'),
            Tag::Quantity => 1,
            Meta::UnitPriceInc => (float) $this->order['details']['BT']->coupon_discount,
            Tag::VatRate => null,
            Meta::VatRateSource => static::VatRateSource_Strategy,
            Meta::StrategySplit => true,
        );

        return $result;
    }
protected function getCouponCodeDiscountLine()
    {
        $result = array(
            Tag::ItemNumber => $this->order['details']['BT']->coupon_code,
            Tag::Product => $this->t('discount'),
            Tag::Quantity => 1,
            Meta::UnitPriceInc => (float) $this->order['details']['BT']->coupon_discount,
            Tag::VatRate => null,
            Meta::VatRateSource => static::VatRateSource_Strategy,
            Meta::StrategySplit => true,
        );

        return $result;
    }
protected function getCouponCodeDiscountLine ( ) { $ result = array ( Tag :: ItemNumber => $ this -> order [ 'details' ] [ 'BT' ] -> coupon_code , Tag :: Product => $ this -> t ( 'discount' ) , Tag :: Quantity => 1 , Meta :: UnitPriceInc => ( float ) $ this -> order [ 'details' ] [ 'BT' ] -> coupon_discount , Tag :: VatRate => null , Meta :: VatRateSource => static :: VatRateSource_Strategy , Meta :: StrategySplit => true , ) ; return $ result ; }
Returns an item line for the coupon code discount on this order.

@return array
An item line array.
Returns an item line for the coupon code discount on this order .