feature/INT-1667 - ChallengeIndicator/SessionChallengeIndicator enum alignment - #631
feature/INT-1667 - ChallengeIndicator/SessionChallengeIndicator enum alignment#631david-ruiz-cko wants to merge 2 commits into
Conversation
🔴 Risk Classification: MAJORApproval route: AI Review + Human Approval Required Classification reasons
Operational gates
Files analysed: 10 wall-e 2026.06.19-02 · policy |
🔬 Debug — why this classification?Each reason code emitted by the classifier, its source clause in the AI in SDLC Control Framework, and what it means.
Kinds:
See issue #3 for the proposal to formalise this map as Appendix A of the standards doc. wall-e 2026.06.19-02 · debug |
🔴 Risk Classification: MAJORApproval route: AI Review + Human Approval Required Classification reasons
Operational gates
Files analysed: 17 wall-e 2026.06.19-02 · policy |
🔬 Debug — why this classification?Each reason code emitted by the classifier, its source clause in the AI in SDLC Control Framework, and what it means.
Kinds:
See issue #3 for the proposal to formalise this map as Appendix A of the standards doc. wall-e 2026.06.19-02 · debug |
|



This pull request refines how 3DS challenge indicators are modeled and documented in the codebase, clarifying the distinction between payment and session APIs and improving the accuracy of API response models. The main changes involve introducing a dedicated
SessionChallengeIndicatorenum for session-related endpoints, updating documentation for both enums, and enhancing the field-level documentation for session response classes.3DS Challenge Indicator Modeling
SessionChallengeIndicatorenum insessionsto represent all nine possible challenge indicator values for session endpoints, including exemption requests, with detailed documentation for each value. (src/main/java/com/checkout/sessions/SessionChallengeIndicator.java)ChallengeIndicatorincommonto clarify its use for payment-related endpoints and to deprecate exemption values, which are now only valid for sessions. Improved documentation for each enum value and marked exemptions as deprecated. (src/main/java/com/checkout/common/ChallengeIndicator.java)Session Response Model Updates
challengeIndicatorfield in bothCreateSessionAcceptedResponseandGetSessionResponsefromChallengeIndicatortoSessionChallengeIndicator, ensuring correct deserialization and alignment with API behavior. (src/main/java/com/checkout/sessions/CreateSessionAcceptedResponse.java,src/main/java/com/checkout/sessions/GetSessionResponse.java) [1] [2]CreateSessionAcceptedResponseandGetSessionResponse, clarifying requirements, formats, and default values for each field. [1] [2]Code Clean-up
ChallengeIndicatorfrom session-related files to prevent confusion and maintain separation of concerns. (src/main/java/com/checkout/sessions/CreateSessionAcceptedResponse.java,src/main/java/com/checkout/sessions/GetSessionResponse.java,src/main/java/com/checkout/sessions/SessionRequest.java) [1] [2] [3]