source/Application/Model/Order.php
public function getPaymentType()
    {
        if ($this->oxorder__oxpaymentid->value && $this->_oPaymentType === null) {
            $this->_oPaymentType = false;
            $oPaymentType = oxNew(\OxidEsales\Eshop\Application\Model\UserPayment::class);
            if ($oPaymentType->load($this->oxorder__oxpaymentid->value)) {
                $this->_oPaymentType = $oPaymentType;
            }
        }

        return $this->_oPaymentType;
    }
public function getPaymentType()
    {
        if ($this->oxorder__oxpaymentid->value && $this->_oPaymentType === null) {
            $this->_oPaymentType = false;
            $oPaymentType = oxNew(\OxidEsales\Eshop\Application\Model\UserPayment::class);
            if ($oPaymentType->load($this->oxorder__oxpaymentid->value)) {
                $this->_oPaymentType = $oPaymentType;
            }
        }

        return $this->_oPaymentType;
    }
public function getPaymentType ( ) { if ( $ this -> oxorder__oxpaymentid -> value && $ this -> _oPaymentType === null ) { $ this -> _oPaymentType = false ; $ oPaymentType = oxNew ( \ OxidEsales \ Eshop \ Application \ Model \ UserPayment :: class ) ; if ( $ oPaymentType -> load ( $ this -> oxorder__oxpaymentid -> value ) ) { $ this -> _oPaymentType = $ oPaymentType ; } } return $ this -> _oPaymentType ; }
Get payment type

@return \OxidEsales\Eshop\Application\Model\UserPayment
Get payment type