-
Notifications
You must be signed in to change notification settings - Fork 16
Expand file tree
/
Copy pathResponse.java
More file actions
86 lines (64 loc) · 1.83 KB
/
Response.java
File metadata and controls
86 lines (64 loc) · 1.83 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
package com.riskified.models;
import java.util.List;
public class Response {
private ResOrder order;
private String decision;
private Integer received;
private List<String> warnings;
private Error error;
private String loginId;
private String message;
private VerificationData verificationData;
public Response() {
}
public Response(CheckoutResponse checkoutResponse) {
this.order = checkoutResponse.getCheckout();
this.received = checkoutResponse.getReceived();
this.warnings = checkoutResponse.getWarnings();
this.error = checkoutResponse.getError();
}
public ResOrder getOrder() {
return order;
}
public void setOrder(ResOrder order) {
this.order = order;
}
public String getDecision() {
return decision;
}
public String getLoginId() { return loginId; }
public void setLoginId(String loginId) { this.loginId = loginId; }
public void setDecision(String decision) {
this.decision = decision;
}
public Integer getReceived() {
return received;
}
public void setReceived(int received) {
this.received = received;
}
public List<String> getWarnings() {
return warnings;
}
public void setWarnings(List<String> warnings) {
this.warnings = warnings;
}
public Error getError() {
return error;
}
public void setError(Error error) {
this.error = error;
}
public String getMessage() {
return message;
}
public void setMessage() {
this.message = message;
}
public VerificationData getVerificationData() {
return verificationData;
}
public void setVerificationData(VerificationData verificationData) {
this.verificationData = verificationData;
}
}