Model/Basket.php
public function getPayPalPaymentCosts()
    {
        $amount = 0.0;

        $paymentCost = $this->getCosts('oxpayment');
        if ($paymentCost) {
            $amount = $this->isCalculationModeNetto() ? $paymentCost->getNettoPrice() : $paymentCost->getBruttoPrice();
        }

        return $amount;
    }
public function getPayPalPaymentCosts()
    {
        $amount = 0.0;

        $paymentCost = $this->getCosts('oxpayment');
        if ($paymentCost) {
            $amount = $this->isCalculationModeNetto() ? $paymentCost->getNettoPrice() : $paymentCost->getBruttoPrice();
        }

        return $amount;
    }
public function getPayPalPaymentCosts ( ) { $ amount = 0.0 ; $ paymentCost = $ this -> getCosts ( 'oxpayment' ) ; if ( $ paymentCost ) { $ amount = $ this -> isCalculationModeNetto ( ) ? $ paymentCost -> getNettoPrice ( ) : $ paymentCost -> getBruttoPrice ( ) ; } return $ amount ; }
Returns payment costs netto or brutto value.

@return double
Returns payment costs netto or brutto value .