btcpayserver/BTCPayServer/Payments
Nicolas Dorier 22435a2bf5
Refactor logic for calculating due amount of invoices (#5174)
* Refactor logic for calculating due amount of invoices

* Remove Money type from the accounting

* Fix tests

* Fix a corner case

* fix bug

* Rename PaymentCurrency to Currency

* Fix bug

* Rename PaymentCurrency -> Currency

* Payment objects should have access to the InvoiceEntity

* Set Currency USD in tests

* Simplify some code

* Remove useless code

* Simplify code, kukks comment
2023-07-19 18:47:32 +09:00
..
Bitcoin Refactor logic for calculating due amount of invoices (#5174) 2023-07-19 18:47:32 +09:00
Lightning Refactor logic for calculating due amount of invoices (#5174) 2023-07-19 18:47:32 +09:00
LNURLPay Refactor logic for calculating due amount of invoices (#5174) 2023-07-19 18:47:32 +09:00
PayJoin Refactor logic for calculating due amount of invoices (#5174) 2023-07-19 18:47:32 +09:00
IPaymentFilter.cs Use ArgumentNullException.ThrowIfNull everywhere (#3239) 2021-12-28 17:39:54 +09:00
IPaymentMethodDetails.cs Greenfield: Add payment hash and preimage to Lightning invoices (#4520) 2023-01-13 17:29:41 +09:00
IPaymentMethodHandler.cs Prevent an NRE in LNURL (#4908) 2023-04-24 21:50:31 +09:00
ISupportedPaymentMethod.cs Removing unused usings, readonly fields where possible 2020-06-28 22:07:48 -05:00
PaymentMethodExtensions.cs Cleaning up bom from cs files 2020-06-28 21:44:35 -05:00
PaymentMethodId.cs Remove LNURLStandardInvoiceEnabled 2023-04-24 23:52:40 +09:00
PaymentMethodUnavailableException.cs Removing unused usings, readonly fields where possible 2020-06-28 22:07:48 -05:00
PaymentTypes.Bitcoin.cs Refactor logic for calculating due amount of invoices (#5174) 2023-07-19 18:47:32 +09:00
PaymentTypes.cs Refactor logic for calculating due amount of invoices (#5174) 2023-07-19 18:47:32 +09:00
PaymentTypes.Lightning.cs Refactor logic for calculating due amount of invoices (#5174) 2023-07-19 18:47:32 +09:00