コード例 #1
0
 public static function createPayerInfo()
 {
     $payerInfo = new PayerInfo();
     $payerInfo->setEmail(self::$email);
     $payerInfo->setFirst_name(self::$firstName);
     $payerInfo->setLast_name(self::$lastName);
     $payerInfo->setPhone(self::$phone);
     $payerInfo->setPayer_id(self::$payerId);
     $payerInfo->setShipping_address(AddressTest::createAddress());
     return $payerInfo;
 }