/// <summary> /// Initializes a new instance of the <see cref="CancelTradeRequest"/> class for a specific tradepair cancel request. /// </summary> /// <param name="currencyId">The Cryptopia currency identifier tradepar to cancel.</param> public CancelTradeRequest(int tradePairId, CancelTradeType type = CancelTradeType.TradePair) { TradePairId = tradePairId; Type = CancelTradeType.TradePair; }
/// <summary> /// Initializes a new instance of the <see cref="CancelTradeRequest"/> class for a specific tradepair cancel request. /// </summary> /// <param name="currencyId">The Cryptopia currency identifier tradepar to cancel.</param> public CancelTradeRequest(int tradePairId, CancelTradeType type = CancelTradeType.TradePair) { TradePairId = tradePairId; CancelType = CancelTradeType.TradePair; }