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

getLandingPageType() public méthode

The type of landing page to display on the PayPal site for user checkout. Set to Billing to use the non-PayPal account landing page. Set to Login to use the PayPal account login landing page.
public getLandingPageType ( ) : string
Résultat string
    public function getLandingPageType()
    {
        return $this->landing_page_type;
    }

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