Controller/ExpressCheckoutDispatcher.php
protected function getCallBackUser($data)
    {
        // simulating user object
        $user = oxNew(\OxidEsales\Eshop\Application\Model\User::class);
        $user->initializeUserForCallBackPayPalUser($data);

        return $user;
    }
protected function getCallBackUser($data)
    {
        // simulating user object
        $user = oxNew(\OxidEsales\Eshop\Application\Model\User::class);
        $user->initializeUserForCallBackPayPalUser($data);

        return $user;
    }
protected function getCallBackUser ( $ data ) { // simulating user object $ user = oxNew ( \ OxidEsales \ Eshop \ Application \ Model \ User :: class ) ; $ user -> initializeUserForCallBackPayPalUser ( $ data ) ; return $ user ; }
Initialize new user from user data.

@param array $data User data array.

@return \OxidEsales\Eshop\Application\Model\User
Initialize new user from user data .