mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-03-13 19:37:37 +01:00
26 lines
1.2 KiB
C#
26 lines
1.2 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using BTCPayServer.Services.Wallets;
|
|
using NBitcoin;
|
|
|
|
namespace BTCPayServer.Payments.PayJoin
|
|
{
|
|
public class PayJoinStateRecordedItem
|
|
{
|
|
public Transaction Transaction { get; set; }
|
|
public DateTimeOffset Timestamp { get; set; }
|
|
public uint256 ProposedTransactionHash { get; set; }
|
|
public List<ReceivedCoin> CoinsExposed { get; set; }
|
|
public decimal TotalOutputAmount { get; set; }
|
|
public decimal ContributedAmount { get; set ; }
|
|
public uint256 OriginalTransactionHash { get; set; }
|
|
|
|
public string InvoiceId { get; set; }
|
|
public bool TxSeen { get; set; }
|
|
|
|
public override string ToString()
|
|
{
|
|
return $"{InvoiceId}_{OriginalTransactionHash}";
|
|
}
|
|
}
|
|
}
|