setId() public method

Identifier of the order transaction.
public setId ( string $id )
$id string
Example #1
0
 public static function createOrder()
 {
     $order = new Order();
     $order->setId(self::$id);
     $order->setCreateTime(self::$createTime);
     $order->setUpdateTime(self::$updateTime);
     $order->setState(self::$state);
     $order->setAmount(AmountTest::createAmount());
     return $order;
 }