public OrderCancelTransaction(
     string id,
     DateTime time,
     int?userID,
     string accountID,
     string?batchID,
     string?requestID,
     TransactionType type,
     string orderID,
     string?clientOrderID,
     OrderCancelReason reason,
     string?replacedByOrderID)
     : base(
         id,
         time,
         userID,
         accountID,
         batchID,
         requestID,
         type)
 {
     OrderID           = orderID;
     ClientOrderID     = clientOrderID;
     Reason            = reason;
     ReplacedByOrderID = replacedByOrderID;
 }
示例#2
0
 public OrderCancelTransaction()
 {
     this.Id                = new TransactionID();
     this.Time              = new DateTime();
     this.AccountID         = new AccountID();
     this.BatchID           = new TransactionID();
     this.RequestID         = new RequestID();
     this.Type              = new TransactionType(ETransactionType.ORDER_CANCEL);
     this.OrderID           = new OrderID();
     this.ClientOrderID     = new OrderID();
     this.Reason            = new OrderCancelReason();
     this.ReplacedByOrderID = new OrderID();
 }
示例#3
0
 public OrderCancelTransaction(TransactionID id, DateTime time, int userID, AccountID accountID, TransactionID batchID, RequestID requestID, TransactionType type, OrderID orderID, OrderID clientOrderID, OrderCancelReason reason, OrderID replacedByOrderID)
 {
     this.Id                = id;
     this.Time              = time;
     this.UserID            = userID;
     this.AccountID         = accountID;
     this.BatchID           = batchID;
     this.RequestID         = requestID;
     this.Type              = type;
     this.OrderID           = orderID;
     this.ClientOrderID     = clientOrderID;
     this.Reason            = reason;
     this.ReplacedByOrderID = replacedByOrderID;
 }