Omnipay\PayPal\Message\ExpressAuthorizeResponse::getRedirectMethod PHP Method

getRedirectMethod() public method

public getRedirectMethod ( )
    public function getRedirectMethod()
    {
        return 'GET';
    }

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::getRedirectMethod