mirror of
https://github.com/aljazceru/breez-sdk-docs.git
synced 2025-12-17 13:54:20 +01:00
update C# to 0.2.9
This commit is contained in:
@@ -8,7 +8,7 @@ public class ListPaymentsSnippets
|
|||||||
try
|
try
|
||||||
{
|
{
|
||||||
var payments = sdk.ListPayments(
|
var payments = sdk.ListPayments(
|
||||||
new ListPaymentsRequest(PaymentTypeFilter.ALL));
|
new ListPaymentsRequest());
|
||||||
}
|
}
|
||||||
catch (Exception)
|
catch (Exception)
|
||||||
{
|
{
|
||||||
@@ -24,7 +24,7 @@ public class ListPaymentsSnippets
|
|||||||
{
|
{
|
||||||
var payments = sdk.ListPayments(
|
var payments = sdk.ListPayments(
|
||||||
new ListPaymentsRequest(
|
new ListPaymentsRequest(
|
||||||
PaymentTypeFilter.SENT,
|
new() { PaymentTypeFilter.SENT },
|
||||||
fromTimestamp: 1696880000,
|
fromTimestamp: 1696880000,
|
||||||
includeFailures: true));
|
includeFailures: true));
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user