Order constructor

Order(
  1. String? orderId,
  2. String? productId,
  3. String? userId,
  4. OrderConfiguration? orderConfiguration,
  5. OrderSide? side,
  6. String? clientOrderId,
  7. OrderStatus? status,
  8. TimeInForce? timeInForce,
  9. DateTime? createdTime,
  10. double? completionPercentage,
  11. double? filledSize,
  12. double? averageFilledPrice,
  13. String? fee,
  14. double? numberOfFills,
  15. double? filledValue,
  16. bool? pendingCancel,
  17. bool? sizeInQuote,
  18. double? totalFees,
  19. bool? sizeInclusiveOfFees,
  20. double? totalValueAfterFees,
  21. TriggerStatus? triggerStatus,
  22. OrderType? orderType,
  23. RejectReason? rejectReason,
  24. bool? settled,
  25. ProductType? productType,
  26. String? rejectMessage,
  27. String? cancelMessage,
)

Order constructor

Implementation

Order(
    this.orderId,
    this.productId,
    this.userId,
    this.orderConfiguration,
    this.side,
    this.clientOrderId,
    this.status,
    this.timeInForce,
    this.createdTime,
    this.completionPercentage,
    this.filledSize,
    this.averageFilledPrice,
    this.fee,
    this.numberOfFills,
    this.filledValue,
    this.pendingCancel,
    this.sizeInQuote,
    this.totalFees,
    this.sizeInclusiveOfFees,
    this.totalValueAfterFees,
    this.triggerStatus,
    this.orderType,
    this.rejectReason,
    this.settled,
    this.productType,
    this.rejectMessage,
    this.cancelMessage);