Skip to content

Commit

Permalink
updated RecoveryEligibility.java with challenge_type
Browse files Browse the repository at this point in the history
  • Loading branch information
Gering112 committed Mar 25, 2024
1 parent dadf603 commit 6663487
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ public class RecoveryEligibility {
private String verifiedAt;
private VerificationMethod verificationMethod;

private String challengeType;

private VerificationSessionDetails verificationSessionDetails;

public RecoveryEligibility(String id, String status, String verifiedAt, VerificationMethod verificationMethod){
Expand Down Expand Up @@ -62,6 +64,14 @@ public VerificationSessionDetails getVerificationSessionDetails() {
public void setVerificationSessionDetails(VerificationSessionDetails verificationSessionDetails){
this.verificationSessionDetails = verificationSessionDetails;
}

public String getChallengeType() {
return challengeType;
}

public void setChallengeType(String challengeType){
this.challengeType = challengeType;
}
}


Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package com.riskified.notifications;

import com.riskified.models.Custom;
import com.riskified.models.RecoveryEligibility;

// Shop URL may also be added to the API notifications from Riskified depending on your
// account configuration (contact your Account Manager or Integration Engineer for details).
Expand Down Expand Up @@ -28,6 +29,8 @@ public static class NotificationOrder {
private String category;
private Custom custom;

private RecoveryEligibility recoveryEligibility;

public String getId() {
return id;
}
Expand Down Expand Up @@ -81,5 +84,9 @@ public void setCategory(String category) {
public void setCustom(Custom custom) {
this.custom = custom;
}

public RecoveryEligibility getRecoveryEligibility(){ return recoveryEligibility; }

public void setRecoveryEligibility(RecoveryEligibility recoveryEligibility){this.recoveryEligibility = recoveryEligibility;}
}
}

0 comments on commit 6663487

Please sign in to comment.