public function getPagSeguroCredentials()
    {
        $email = $this->_scopeConfig->getValue('payment/pagseguro/email');
        $token = $this->_scopeConfig->getValue('payment/pagseguro/token');
        //Set the credentials
        \PagSeguro\Configuration\Configure::setAccountCredentials($email, $token);
        return \PagSeguro\Configuration\Configure::getAccountCredentials();
    }
public function getPagSeguroCredentials()
    {
        $email = $this->_scopeConfig->getValue('payment/pagseguro/email');
        $token = $this->_scopeConfig->getValue('payment/pagseguro/token');
        //Set the credentials
        \PagSeguro\Configuration\Configure::setAccountCredentials($email, $token);
        return \PagSeguro\Configuration\Configure::getAccountCredentials();
    }
public function getPagSeguroCredentials ( ) { $ email = $ this -> _scopeConfig -> getValue ( 'payment/pagseguro/email' ) ; $ token = $ this -> _scopeConfig -> getValue ( 'payment/pagseguro/token' ) ; //Set the credentials \ PagSeguro \ Configuration \ Configure :: setAccountCredentials ( $ email , $ token ) ; return \ PagSeguro \ Configuration \ Configure :: getAccountCredentials ( ) ; }
Get the access credential
@return PagSeguroAccountCredentials
Get the access credential