mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-17 05:54:26 +01:00
* feat: exposed invoice accounting endpoint to facilitate refund on btcpayserver app project * merge from master * refactor: optimizations * refactor: added documentation, test assertions and renamed endpoint * refactor: updated documentation based on code rabbit improvement suggestions * refactor: updated refund properties terminology
16 lines
651 B
C#
16 lines
651 B
C#
namespace BTCPayServer.Client.Models
|
|
{
|
|
public class InvoiceRefundTriggerData
|
|
{
|
|
public decimal PaymentAmountNow { get; set; } = 0m;
|
|
public string CurrentRateText { get; set; }
|
|
public decimal PaymentAmountThen { get; set; } = 0m;
|
|
public decimal InvoiceAmount { get; set; } = 0m;
|
|
public decimal? OverpaidPaymentAmount { get; set; } = null;
|
|
public string InvoiceCurrency { get; set; } = string.Empty;
|
|
public string PaymentCurrency { get; set; } = string.Empty;
|
|
public int PaymentCurrencyDivisibility { get; set; }
|
|
public int InvoiceCurrencyDivisibility { get; set; }
|
|
}
|
|
}
|