mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-03-06 10:32:13 +01:00
29 lines
785 B
C#
29 lines
785 B
C#
|
using System.Collections.Generic;
|
||
|
using BTCPayServer.Client.Models;
|
||
|
using BTCPayServer.JsonConverters;
|
||
|
|
||
|
namespace BTCPayServer.Abstractions.Custodians.Client;
|
||
|
|
||
|
public class SimulateWithdrawalResult
|
||
|
{
|
||
|
public string PaymentMethod { get; }
|
||
|
public string Asset { get; }
|
||
|
public decimal MinQty { get; }
|
||
|
public decimal MaxQty { get; }
|
||
|
|
||
|
public List<LedgerEntryData> LedgerEntries { get; }
|
||
|
|
||
|
// Fee can be NULL if unknown.
|
||
|
public decimal? Fee { get; }
|
||
|
|
||
|
public SimulateWithdrawalResult(string paymentMethod, string asset, List<LedgerEntryData> ledgerEntries,
|
||
|
decimal minQty, decimal maxQty)
|
||
|
{
|
||
|
PaymentMethod = paymentMethod;
|
||
|
Asset = asset;
|
||
|
LedgerEntries = ledgerEntries;
|
||
|
MinQty = minQty;
|
||
|
MaxQty = maxQty;
|
||
|
}
|
||
|
}
|