PayPal\Api\Payee::setEmail PHP Method

setEmail() 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 setEmail ( string $email )
$email string
    public function setEmail($email)
    {
        $this->email = $email;
        return $this;
    }

Usage Example

Example #1
0
 public static function createPayee()
 {
     $payee = new Payee();
     $payee->setEmail(self::$email);
     $payee->setMerchantId(self::$merchant_id);
     $payee->setPhone(self::$phone);
     return $payee;
 }
All Usage Examples Of PayPal\Api\Payee::setEmail