revert 5ca44c4 payment method mappings and add note for new methods only (#1873)

This commit is contained in:
woodser 2025-07-20 16:33:50 -04:00 committed by GitHub
parent f722ca4cd4
commit 7fb7504046
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -121,6 +121,7 @@ public final class TradeStatistics3 implements ProcessOncePersistableNetworkPayl
// The payment method string can be quite long and would consume 15% more space.
// When we get a new payment method we can add it to the enum at the end. Old users would add it as string if not
// recognized.
// NOTE: Only ***UNUSED*** payment methods can be added here, otherwise historical stats will have a different hash than new stats.
private enum PaymentMethodMapper {
OK_PAY,
CASH_APP,
@ -178,9 +179,7 @@ public final class TradeStatistics3 implements ProcessOncePersistableNetworkPayl
TRANSFERWISE_USD,
ACH_TRANSFER,
DOMESTIC_WIRE_TRANSFER,
PAYPAL,
PAYSAFE,
CASH_AT_ATM
PAYPAL
}
@Getter