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. // 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 // 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. // recognized.
// NOTE: Only ***UNUSED*** payment methods can be added here, otherwise historical stats will have a different hash than new stats.
private enum PaymentMethodMapper { private enum PaymentMethodMapper {
OK_PAY, OK_PAY,
CASH_APP, CASH_APP,
@ -178,9 +179,7 @@ public final class TradeStatistics3 implements ProcessOncePersistableNetworkPayl
TRANSFERWISE_USD, TRANSFERWISE_USD,
ACH_TRANSFER, ACH_TRANSFER,
DOMESTIC_WIRE_TRANSFER, DOMESTIC_WIRE_TRANSFER,
PAYPAL, PAYPAL
PAYSAFE,
CASH_AT_ATM
} }
@Getter @Getter