source/Application/Model/UserPayment.php
public function load($sOxId)
    {
        $sSelect = 'select oxid, oxuserid, oxpaymentsid, DECODE( oxvalue, "' . $this->getPaymentKey() . '" ) as oxvalue
                    from oxuserpayments where oxid = ' . \OxidEsales\Eshop\Core\DatabaseProvider::getDb()->quote($sOxId);

        return $this->assignRecord($sSelect);
    }
public function load($sOxId)
    {
        $sSelect = 'select oxid, oxuserid, oxpaymentsid, DECODE( oxvalue, "' . $this->getPaymentKey() . '" ) as oxvalue
                    from oxuserpayments where oxid = ' . \OxidEsales\Eshop\Core\DatabaseProvider::getDb()->quote($sOxId);

        return $this->assignRecord($sSelect);
    }
public function load ( $ sOxId ) { $ sSelect = 'select oxid, oxuserid, oxpaymentsid, DECODE( oxvalue, "' . $ this -> getPaymentKey ( ) . '" ) as oxvalue
                    from oxuserpayments where oxid = ' . \ OxidEsales \ Eshop \ Core \ DatabaseProvider :: getDb ( ) -> quote ( $ sOxId ) ; return $ this -> assignRecord ( $ sSelect ) ; }
Loads user payment object

@param string $sOxId oxuserpayment id

@return mixed
Loads user payment object