Exemplo n.º 1
0
 public static function createRefund()
 {
     $refund = new Refund();
     $refund->setAmount(AmountTest::createAmount());
     $refund->setCapture_id(self::$captureId);
     $refund->setCreate_time(self::$createTime);
     $refund->setDescription(self::$description);
     $refund->setId(self::$id);
     $refund->setLinks(array(LinkTest::createLink()));
     $refund->setParent_payment(self::$parentPayment);
     return $refund;
 }