PayPal\Api\Payee::setMerchantId PHP Method

setMerchantId() public method

Encrypted PayPal account identifier for the Payee.
public setMerchantId ( string $merchant_id )
$merchant_id string
    public function setMerchantId($merchant_id)
    {
        $this->merchant_id = $merchant_id;
        return $this;
    }

Usage Example

Ejemplo n.º 1
0
 public static function createPayee()
 {
     $payee = new Payee();
     $payee->setEmail(self::$email);
     $payee->setMerchantId(self::$merchant_id);
     $payee->setPhone(self::$phone);
     return $payee;
 }