We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ed187c8 commit 5048f7fCopy full SHA for 5048f7f
1 file changed
lithic-java-example/src/main/java/com/lithic/example/Main.java
@@ -57,7 +57,8 @@ public static void example() {
57
.begin(OffsetDateTime.now(ZoneOffset.UTC).minusDays(7))
58
.build();
59
Stream<NonPciCard> cardsCreatedLastWeek = client.cards().list(listParams).autoPager().stream();
60
- Long totalSpendLimit = cardsCreatedLastWeek.mapToLong(NonPciCard::spendLimit).sum();
+ Long totalSpendLimit =
61
+ cardsCreatedLastWeek.mapToLong(NonPciCard::spendLimit).sum();
62
System.out.println("Spend limit of cards created within the last week: " + totalSpendLimit);
63
}
64
0 commit comments