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

Phone number representing the payer. 20 characters max.
public setPhone ( string $phone )
$phone string
Пример #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;
 }