PayPal\Api\FlowConfig::getReturnUriHttpMethod PHP Méthode

getReturnUriHttpMethod() public méthode

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

Usage Example

 /**
  * @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");
 }