From 99d492c61cd58c4be3432cde43e1f867e8c15f66 Mon Sep 17 00:00:00 2001 From: Chris Eager Date: Thu, 1 Oct 2026 12:45:49 -0400 Subject: [PATCH] Add Javadoc to OneTimeDonationUtil#validateOneTimeDonationRequest --- .../whispersystems/textsecuregcm/grpc/OneTimeDonationUtil.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/grpc/OneTimeDonationUtil.java b/service/src/main/java/org/whispersystems/textsecuregcm/grpc/OneTimeDonationUtil.java index bf2874e2c..8009894c3 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/grpc/OneTimeDonationUtil.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/grpc/OneTimeDonationUtil.java @@ -49,6 +49,8 @@ public class OneTimeDonationUtil { } + /// Validates a request is for a valid one-time donation level and is at least the configured minimum for the currency + /// and payment method. public static OneTimeDonationRequestValidationResult validateOneTimeDonationRequest( final String currency, final long amount,