update C# to 0.2.9

This commit is contained in:
Jesse de Wit
2023-11-13 15:43:28 +01:00
parent 4c50c6d026
commit 50b7ecf42d

View File

@@ -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));
} }