PayPal\Api\Payee::getEmail PHP Метод

getEmail() публичный Метод

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
Результат string
    public function getEmail()
    {
        return $this->email;
    }

Usage Example

Пример #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());
 }
All Usage Examples Of PayPal\Api\Payee::getEmail