mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-02-27 07:57:33 +01:00
20 lines
506 B
C#
20 lines
506 B
C#
|
namespace BTCPayServer.Services.Invoices
|
||
|
{
|
||
|
public class Amounts
|
||
|
{
|
||
|
public string Currency { get; set; }
|
||
|
/// <summary>
|
||
|
/// An amount with fee included
|
||
|
/// </summary>
|
||
|
public decimal Gross { get; set; }
|
||
|
/// <summary>
|
||
|
/// An amount without fee included
|
||
|
/// </summary>
|
||
|
public decimal Net { get; set; }
|
||
|
public override string ToString()
|
||
|
{
|
||
|
return $"{Currency}: Net={Net}, Gross={Gross}";
|
||
|
}
|
||
|
}
|
||
|
}
|