Store fee

This commit is contained in:
2024-03-22 12:59:12 +00:00
parent 211c6b9469
commit 37f84592f4
7 changed files with 519 additions and 9 deletions

View File

@ -12,7 +12,7 @@ public class Payment
public bool IsPaid { get; set; }
/// <summary>
/// Payment amount in sats!!
/// Payment amount in milli-sats!!
/// </summary>
public ulong Amount { get; init; }
@ -21,6 +21,11 @@ public class Payment
public string? Nostr { get; init; }
public PaymentType Type { get; init; }
/// <summary>
/// Fee paid for withdrawal in milli-sats
/// </summary>
public ulong Fee { get; init; }
}
public enum PaymentType