source/Application/Model/Order.php
public function getOrderPaymentPrice()
    {
        if ($this->_oPaymentPrice != null) {
            return $this->_oPaymentPrice;
        }

        $this->_oPaymentPrice = oxNew(\OxidEsales\Eshop\Core\Price::class);
        $this->_oPaymentPrice->setBruttoPriceMode();
        $this->_oPaymentPrice->setPrice($this->oxorder__oxpaycost->value, $this->oxorder__oxpayvat->value);

        return $this->_oPaymentPrice;
    }
public function getOrderPaymentPrice()
    {
        if ($this->_oPaymentPrice != null) {
            return $this->_oPaymentPrice;
        }

        $this->_oPaymentPrice = oxNew(\OxidEsales\Eshop\Core\Price::class);
        $this->_oPaymentPrice->setBruttoPriceMode();
        $this->_oPaymentPrice->setPrice($this->oxorder__oxpaycost->value, $this->oxorder__oxpayvat->value);

        return $this->_oPaymentPrice;
    }
public function getOrderPaymentPrice ( ) { if ( $ this -> _oPaymentPrice != null ) { return $ this -> _oPaymentPrice ; } $ this -> _oPaymentPrice = oxNew ( \ OxidEsales \ Eshop \ Core \ Price :: class ) ; $ this -> _oPaymentPrice -> setBruttoPriceMode ( ) ; $ this -> _oPaymentPrice -> setPrice ( $ this -> oxorder__oxpaycost -> value , $ this -> oxorder__oxpayvat -> value ) ; return $ this -> _oPaymentPrice ; }
Returns order payment expenses price object

@return ShopPrice
Returns order payment expenses price object