Controller/ExpressCheckoutDispatcher.php
protected function createUserAddress($details, $userId)
    {
        $address = oxNew(\OxidEsales\Eshop\Application\Model\Address::class);

        return $address->createPayPalAddress($details, $userId);
    }
protected function createUserAddress($details, $userId)
    {
        $address = oxNew(\OxidEsales\Eshop\Application\Model\Address::class);

        return $address->createPayPalAddress($details, $userId);
    }
protected function createUserAddress ( $ details , $ userId ) { $ address = oxNew ( \ OxidEsales \ Eshop \ Application \ Model \ Address :: class ) ; return $ address -> createPayPalAddress ( $ details , $ userId ) ; }
Creates user address and sets address id into session

@param \OxidEsales\PayPalModule\Model\Response\ResponseGetExpressCheckoutDetails $details User address info.
@param string                                                                    $userId  User id.

@return bool
Creates user address and sets address id into session