setPhone() public method

Phone number representing the payer. 20 characters max.
public setPhone ( string $phone )
$phone string
Exemplo n.º 1
0
 public static function createPayerInfo()
 {
     $payerInfo = new PayerInfo();
     $payerInfo->setEmail(self::$email);
     $payerInfo->setFirstName(self::$firstName);
     $payerInfo->setLastName(self::$lastName);
     $payerInfo->setPhone(self::$phone);
     $payerInfo->setPayerId(self::$payerId);
     $payerInfo->setShippingAddress(AddressTest::createAddress());
     return $payerInfo;
 }