PayPal\Api\FlowConfig::getReturnUriHttpMethod PHP Method

getReturnUriHttpMethod() public method

Defines the HTTP method to use to redirect the user to a return URL. A valid value is GET or POST.
public getReturnUriHttpMethod ( ) : string
return string
    public function getReturnUriHttpMethod()
    {
        return $this->return_uri_http_method;
    }

Usage Example

コード例 #1
0
 /**
  * @depends testSerializationDeserialization
  * @param FlowConfig $obj
  */
 public function testGetters($obj)
 {
     $this->assertEquals($obj->getLandingPageType(), "TestSample");
     $this->assertEquals($obj->getBankTxnPendingUrl(), "http://www.google.com");
     $this->assertEquals($obj->getUserAction(), "TestSample");
     $this->assertEquals($obj->getReturnUriHttpMethod(), "TestSample");
 }