mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-02-22 22:25:28 +01:00
* Allow multi-step settings in custodian * Fix CustodianAccount.Name not saved * Reuse TradeQuantity for SimulateTrade * TradeQuantityJsonConverter accepts numerics * Fix build
11 lines
293 B
C#
11 lines
293 B
C#
using Newtonsoft.Json;
|
|
|
|
namespace BTCPayServer.Client.Models;
|
|
|
|
public class TradeRequestData
|
|
{
|
|
public string FromAsset { set; get; }
|
|
public string ToAsset { set; get; }
|
|
[JsonConverter(typeof(JsonConverters.TradeQuantityJsonConverter))]
|
|
public TradeQuantity Qty { set; get; }
|
|
}
|