public setCreateTime ( string $create_time ) | ||
$create_time | string |
public function setCreateTime($create_time)
{
$this->create_time = $create_time;
return $this;
}
public static function createRefund() { $refund = new Refund(); $refund->setCreateTime(self::$createTime); $refund->setAmount(AmountTest::createAmount()); $refund->setCaptureId(self::$captureId); $refund->setId(self::$id); $refund->setLinks(array(LinksTest::getObject())); $refund->setParentPayment(self::$parentPayment); return $refund; }