/// <summary> /// Initializes a new instance of the <see cref="InlineResponse4045" /> class. /// </summary> /// <param name="OrderRejectTransaction">OrderRejectTransaction.</param> /// <param name="LastTransactionID">The ID of the most recent Transaction created for the Account. Only present if the Account exists..</param> /// <param name="RelatedTransactionIDs">The IDs of all Transactions that were created while satisfying the request. Only present if the Account exists..</param> /// <param name="ErrorCode">The code of the error that has occurred. This field may not be returned for some errors..</param> /// <param name="ErrorMessage">The human-readable description of the error that has occurred..</param> public InlineResponse4045(MarketOrderRejectTransaction OrderRejectTransaction = default(MarketOrderRejectTransaction), string LastTransactionID = default(string), List <string> RelatedTransactionIDs = default(List <string>), string ErrorCode = default(string), string ErrorMessage = default(string)) { this.OrderRejectTransaction = OrderRejectTransaction; this.LastTransactionID = LastTransactionID; this.RelatedTransactionIDs = RelatedTransactionIDs; this.ErrorCode = ErrorCode; this.ErrorMessage = ErrorMessage; }
/// <summary> /// Initializes a new instance of the <see cref="CloseTradeNotFoundResponse" /> class. /// </summary> /// <param name="orderRejectTransaction">orderRejectTransaction.</param> /// <param name="errorCode">The code of the error that has occurred. This field may not be returned for some errors..</param> /// <param name="errorMessage">The human-readable description of the error that has occurred..</param> /// <param name="lastTransactionID">The ID of the most recent Transaction created for the Account.</param> /// <param name="relatedTransactionIDs">The IDs of all Transactions that were created while satisfying the request..</param> public CloseTradeNotFoundResponse(MarketOrderRejectTransaction orderRejectTransaction = default(MarketOrderRejectTransaction), string errorCode = default(string), string errorMessage = default(string), int lastTransactionID = default(int), List <int> relatedTransactionIDs = default(List <int>)) { this.OrderRejectTransaction = orderRejectTransaction; this.ErrorCode = errorCode; this.ErrorMessage = errorMessage; this.LastTransactionID = lastTransactionID; this.RelatedTransactionIDs = relatedTransactionIDs; }
/// <summary> /// Initializes a new instance of the <see cref="ClosePositionNotFoundResponse" /> class. /// </summary> /// <param name="longOrderRejectTransaction">longOrderRejectTransaction.</param> /// <param name="shortOrderRejectTransaction">shortOrderRejectTransaction.</param> /// <param name="errorCode">The code of the error that has occurred. This field may not be returned for some errors..</param> /// <param name="errorMessage">The human-readable description of the error that has occurred..</param> /// <param name="lastTransactionID">The ID of the most recent Transaction created for the Account.</param> /// <param name="relatedTransactionIDs">The IDs of all Transactions that were created while satisfying the request..</param> public ClosePositionNotFoundResponse(MarketOrderRejectTransaction longOrderRejectTransaction = default(MarketOrderRejectTransaction), MarketOrderRejectTransaction shortOrderRejectTransaction = default(MarketOrderRejectTransaction), string errorCode = default(string), string errorMessage = default(string), int lastTransactionID = default(int), List <int> relatedTransactionIDs = default(List <int>)) { this.LongOrderRejectTransaction = longOrderRejectTransaction; this.ShortOrderRejectTransaction = shortOrderRejectTransaction; this.ErrorCode = errorCode; this.ErrorMessage = errorMessage; this.LastTransactionID = lastTransactionID; this.RelatedTransactionIDs = relatedTransactionIDs; }
/// <summary> /// Initializes a new instance of the <see cref="CloseTradeBadRequestResponseAllOf" /> class. /// </summary> /// <param name="orderRejectTransaction">orderRejectTransaction.</param> public CloseTradeBadRequestResponseAllOf(MarketOrderRejectTransaction orderRejectTransaction = default(MarketOrderRejectTransaction)) { this.OrderRejectTransaction = orderRejectTransaction; }
/// <summary> /// Initializes a new instance of the <see cref="ClosePositionBadRequestResponseAllOf" /> class. /// </summary> /// <param name="longOrderRejectTransaction">longOrderRejectTransaction.</param> /// <param name="shortOrderRejectTransaction">shortOrderRejectTransaction.</param> public ClosePositionBadRequestResponseAllOf(MarketOrderRejectTransaction longOrderRejectTransaction = default(MarketOrderRejectTransaction), MarketOrderRejectTransaction shortOrderRejectTransaction = default(MarketOrderRejectTransaction)) { this.LongOrderRejectTransaction = longOrderRejectTransaction; this.ShortOrderRejectTransaction = shortOrderRejectTransaction; }
/// <summary> /// Initializes a new instance of the <see cref="InlineResponse4005" /> class. /// </summary> /// <param name="OrderRejectTransaction">OrderRejectTransaction.</param> /// <param name="ErrorCode">The code of the error that has occurred. This field may not be returned for some errors..</param> /// <param name="ErrorMessage">The human-readable description of the error that has occurred..</param> public InlineResponse4005(MarketOrderRejectTransaction OrderRejectTransaction = default(MarketOrderRejectTransaction), string ErrorCode = default(string), string ErrorMessage = default(string)) { this.OrderRejectTransaction = OrderRejectTransaction; this.ErrorCode = ErrorCode; this.ErrorMessage = ErrorMessage; }