Add Clear to the TransactionReportTag enum (STF-190)#390
Merged
Conversation
Part of STF-190. The `clear` tag retracts a previously reported fraud report tag on a transaction, restoring its label to "unknown" (distinct from the positive `NotFraud` signal). Backend support shipped in STF-15; this adds SDK support. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
There was a problem hiding this comment.
Code Review
This pull request adds a new Clear member to the TransactionReportTag enum, allowing users to clear previous transaction reports when initial classifications are incorrect. The update includes the necessary enum decoration for serialization, a unit test to verify the change, and an update to the release notes. I have no feedback to provide.
horgh
approved these changes
Apr 23, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Clearto theTransactionReportTagenum with its[EnumMember]mapping to
"clear"and an XML doc summary.TransactionReport.6.0.0-beta1entry inreleasenotes.md.The
cleartag retracts a previously reported fraud report on a transaction(restoring its label to "unknown", distinct from the positive
NotFraudsignal). Backend support shipped in STF-15; this adds SDK support per STF-190.
Linear: https://linear.app/maxmind/issue/STF-190
Test plan
dotnet build MaxMind.MinFraud.sln— cleandotnet run --project MaxMind.MinFraud.UnitTest ... -class "*TransactionReportTest"— 7 passed, 0 failed🤖 Generated with Claude Code