getEmail() public method

Email Address associated with the Payee's PayPal Account. If the provided email address is not associated with any PayPal Account, the payee can only receive PayPal Wallet Payments. Direct Credit Card Payments will be denied due to card compliance requirements.
public getEmail ( ) : string
return string
Ejemplo n.º 1
0
 /**
  * @depends testSerializationDeserialization
  * @param Payee $obj
  */
 public function testGetters($obj)
 {
     $this->assertEquals($obj->getEmail(), "TestSample");
     $this->assertEquals($obj->getMerchantId(), "TestSample");
     $this->assertEquals($obj->getFirstName(), "TestSample");
     $this->assertEquals($obj->getLastName(), "TestSample");
     $this->assertEquals($obj->getAccountNumber(), "TestSample");
     $this->assertEquals($obj->getPhone(), PhoneTest::getObject());
 }
Ejemplo n.º 2
0
 /**
  * @depends testSerializationDeserialization
  * @param Payee $obj
  */
 public function testGetters($obj)
 {
     $this->assertEquals($obj->getEmail(), "TestSample");
     $this->assertEquals($obj->getMerchantId(), "TestSample");
 }