Omnipay\PayPal\Message\ExpressAuthorizeResponse::getRedirectData PHP Метод

getRedirectData() публичный Метод

public getRedirectData ( )
    public function getRedirectData()
    {
        return null;
    }

Usage Example

 public function testExpressPurchaseSuccess()
 {
     $httpResponse = $this->getMockHttpResponse('ExpressPurchaseSuccess.txt');
     $response = new ExpressAuthorizeResponse($this->getMockRequest(), $httpResponse->getBody());
     $this->assertFalse($response->isSuccessful());
     $this->assertSame('EC-42721413K79637829', $response->getTransactionReference());
     $this->assertNull($response->getMessage());
     $this->assertNull($response->getRedirectData());
     $this->assertSame('GET', $response->getRedirectMethod());
 }
All Usage Examples Of Omnipay\PayPal\Message\ExpressAuthorizeResponse::getRedirectData