mirror of
https://github.com/valitydev/adapter-common-lib.git
synced 2024-11-06 02:05:18 +00:00
Add 3DS 2.0 fields and steps
This commit is contained in:
parent
4ee25d5a2d
commit
372f6ce03e
2
pom.xml
2
pom.xml
@ -13,7 +13,7 @@
|
||||
</parent>
|
||||
|
||||
<artifactId>adapter-common-lib</artifactId>
|
||||
<version>0.0.28</version>
|
||||
<version>0.0.29</version>
|
||||
<packaging>jar</packaging>
|
||||
|
||||
<name>adapter-common-lib</name>
|
||||
|
@ -10,7 +10,10 @@ public enum ThreeDsFields {
|
||||
MD("MD"),
|
||||
PA_REQ("PaReq"),
|
||||
PA_RES("PaRes"),
|
||||
TERM_URL("TermUrl");
|
||||
TERM_URL("TermUrl"),
|
||||
THREE_DS_METHOD_DATA("ThreeDsMethodData"),
|
||||
C_REQ("creq"),
|
||||
THREE_DS_SESSION_DATA("threeDSSessionData");
|
||||
|
||||
private final String value;
|
||||
}
|
||||
|
@ -6,6 +6,8 @@ public enum Step {
|
||||
AUTH,
|
||||
AUTH_MOBILE_PAY,
|
||||
FINISH_THREE_DS,
|
||||
FINISH_THREE_DS_V1,
|
||||
FINISH_THREE_DS_V2,
|
||||
AWAIT_CALLBACK,
|
||||
CANCEL,
|
||||
REFUND,
|
||||
@ -19,6 +21,9 @@ public enum Step {
|
||||
GENERATE_TOKEN_AUTH,
|
||||
GENERATE_TOKEN_AUTH_MOBILE_PAY,
|
||||
GENERATE_TOKEN_FINISH_THREE_DS,
|
||||
GENERATE_TOKEN_FINISH_THREE_DS_V1,
|
||||
GENERATE_TOKEN_FINISH_THREE_DS_V2,
|
||||
GENERATE_TOKEN_AWAIT_CALLBACK,
|
||||
GENERATE_TOKEN_CAPTURE,
|
||||
GENERATE_TOKEN_CANCEL,
|
||||
GENERATE_TOKEN_REFUND,
|
||||
|
@ -18,6 +18,9 @@ public class AdapterContext {
|
||||
private String acsUrl;
|
||||
private String termUrl;
|
||||
private String terminationUri;
|
||||
private String cReq;
|
||||
private String threeDsMethodData;
|
||||
private String threeDsSessionData;
|
||||
private String trxId;
|
||||
private Step step;
|
||||
private Map<String, String> options;
|
||||
|
Loading…
Reference in New Issue
Block a user