-
Notifications
You must be signed in to change notification settings - Fork 16
Expand file tree
/
Copy pathAuthenticationResult.java
More file actions
104 lines (72 loc) · 2.1 KB
/
AuthenticationResult.java
File metadata and controls
104 lines (72 loc) · 2.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
package com.riskified.models;
import java.util.Date;
import com.riskified.TransStatusReason;
import com.riskified.TransStatus;
import com.riskified.validations.*;
public class AuthenticationResult implements IValidated {
private String eci;
private String cavv;
private Date createdAt;
private TransStatus transStatus;
private TransStatusReason transStatusReason;
private Boolean liabilityShift;
private Boolean three_d_challenge;
private Boolean tra_exemption;
public AuthenticationResult(String eci) {
this.eci = eci;
}
public TransStatusReason getTransStatusReason() {
return transStatusReason;
}
public void setTransStatusReason(TransStatusReason transStatusReason) {
this.transStatusReason = transStatusReason;
}
public TransStatus getTransStatus() {
return transStatus;
}
public void setTransStatus(TransStatus transStatus) {
this.transStatus = transStatus;
}
public boolean getLiabilityShift() {
return liabilityShift;
}
public void setLiabilityShift(boolean liabilityShift) {
this.liabilityShift = liabilityShift;
}
public String getCavv() {
return cavv;
}
public void setCavv(String cavv) {
this.cavv = cavv;
}
public String getEci() {
return eci;
}
public void setEci(String eci) {
this.eci = eci;
}
public Date getCreatedAt() {
return createdAt;
}
public void setCreatedAt(Date createdAt) {
this.createdAt = createdAt;
}
public void validate(Validation validationType)
throws FieldBadFormatException {
if (validationType == Validation.ALL) {
// The SDK is not enforcing any fields for Advise API
}
}
public boolean get3DChallenge() {
return three_d_challenge;
}
public void set3DChallenge(boolean ThreeDChallenge) {
this.three_d_challenge = ThreeDChallenge;
}
public boolean getTRAExemption() {
return tra_exemption;
}
public void setTRAExemption(boolean TRAExemption) {
tra_exemption = TRAExemption;
}
}