Requires the role: | Admin | Requires the permission: | ReadData |
POST | /borgunTest3D/ResVerification | Test 3D |
---|
import java.math.*;
import java.util.*;
import net.servicestack.client.*;
public class dtos
{
public static class BorgunTest3DVerificationRequest
{
public BorgunResValidationRequest request = null;
public String forcedPath = null;
public String forcedJSONRequest = null;
public Boolean skipBorgunCall = null;
public BorgunResValidationRequest getRequest() { return request; }
public BorgunTest3DVerificationRequest setRequest(BorgunResValidationRequest value) { this.request = value; return this; }
public String getForcedPath() { return forcedPath; }
public BorgunTest3DVerificationRequest setForcedPath(String value) { this.forcedPath = value; return this; }
public String getForcedJSONRequest() { return forcedJSONRequest; }
public BorgunTest3DVerificationRequest setForcedJSONRequest(String value) { this.forcedJSONRequest = value; return this; }
public Boolean isSkipBorgunCall() { return skipBorgunCall; }
public BorgunTest3DVerificationRequest setSkipBorgunCall(Boolean value) { this.skipBorgunCall = value; return this; }
}
public static class BorgunResValidationRequest
{
public String paRes = null;
public String cRes = null;
public String md = null;
public String getPaRes() { return paRes; }
public BorgunResValidationRequest setPaRes(String value) { this.paRes = value; return this; }
public String getCRes() { return cRes; }
public BorgunResValidationRequest setCRes(String value) { this.cRes = value; return this; }
public String getMd() { return md; }
public BorgunResValidationRequest setMd(String value) { this.md = value; return this; }
}
public static class BorgunTest3DVerificationResponse
{
public BorgunResValidationResponse response = null;
public Integer statusCode = null;
public String message = null;
public String forcedPath = null;
public String forcedJSONRequest = null;
public String jsonRequest = null;
public String jsonResponse = null;
public String requestPath = null;
public String requestSent = null;
public String requestReceived = null;
public BorgunResValidationResponse getResponse() { return response; }
public BorgunTest3DVerificationResponse setResponse(BorgunResValidationResponse value) { this.response = value; return this; }
public Integer getStatusCode() { return statusCode; }
public BorgunTest3DVerificationResponse setStatusCode(Integer value) { this.statusCode = value; return this; }
public String getMessage() { return message; }
public BorgunTest3DVerificationResponse setMessage(String value) { this.message = value; return this; }
public String getForcedPath() { return forcedPath; }
public BorgunTest3DVerificationResponse setForcedPath(String value) { this.forcedPath = value; return this; }
public String getForcedJSONRequest() { return forcedJSONRequest; }
public BorgunTest3DVerificationResponse setForcedJSONRequest(String value) { this.forcedJSONRequest = value; return this; }
public String getJsonRequest() { return jsonRequest; }
public BorgunTest3DVerificationResponse setJsonRequest(String value) { this.jsonRequest = value; return this; }
public String getJsonResponse() { return jsonResponse; }
public BorgunTest3DVerificationResponse setJsonResponse(String value) { this.jsonResponse = value; return this; }
public String getRequestPath() { return requestPath; }
public BorgunTest3DVerificationResponse setRequestPath(String value) { this.requestPath = value; return this; }
public String getRequestSent() { return requestSent; }
public BorgunTest3DVerificationResponse setRequestSent(String value) { this.requestSent = value; return this; }
public String getRequestReceived() { return requestReceived; }
public BorgunTest3DVerificationResponse setRequestReceived(String value) { this.requestReceived = value; return this; }
}
public static class BorgunResValidationResponse
{
public String xId = null;
public String mdStatus = null;
public String mdErrorMessage = null;
public String enrollmentStatus = null;
public String authenticationStatus = null;
public String eci = null;
public String cavv = null;
public String cavvAlgorithm = null;
public String paResVerified = null;
public String paResSyntaxOK = null;
public String getXId() { return xId; }
public BorgunResValidationResponse setXId(String value) { this.xId = value; return this; }
public String getMdStatus() { return mdStatus; }
public BorgunResValidationResponse setMdStatus(String value) { this.mdStatus = value; return this; }
public String getMdErrorMessage() { return mdErrorMessage; }
public BorgunResValidationResponse setMdErrorMessage(String value) { this.mdErrorMessage = value; return this; }
public String getEnrollmentStatus() { return enrollmentStatus; }
public BorgunResValidationResponse setEnrollmentStatus(String value) { this.enrollmentStatus = value; return this; }
public String getAuthenticationStatus() { return authenticationStatus; }
public BorgunResValidationResponse setAuthenticationStatus(String value) { this.authenticationStatus = value; return this; }
public String getEci() { return eci; }
public BorgunResValidationResponse setEci(String value) { this.eci = value; return this; }
public String getCavv() { return cavv; }
public BorgunResValidationResponse setCavv(String value) { this.cavv = value; return this; }
public String getCavvAlgorithm() { return cavvAlgorithm; }
public BorgunResValidationResponse setCavvAlgorithm(String value) { this.cavvAlgorithm = value; return this; }
public String getPaResVerified() { return paResVerified; }
public BorgunResValidationResponse setPaResVerified(String value) { this.paResVerified = value; return this; }
public String getPaResSyntaxOK() { return paResSyntaxOK; }
public BorgunResValidationResponse setPaResSyntaxOK(String value) { this.paResSyntaxOK = value; return this; }
}
}
Java BorgunTest3DVerificationRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /borgunTest3D/ResVerification HTTP/1.1
Host: stubbur-autoupdates-live.smartnewapis.com
Accept: text/csv
Content-Type: text/csv
Content-Length: length
{"request":{"paRes":"String","cRes":"String","md":"String"},"forcedPath":"String","forcedJSONRequest":"String","skipBorgunCall":false}
HTTP/1.1 200 OK Content-Type: text/csv Content-Length: length {"response":{"xId":"String","mdStatus":"String","mdErrorMessage":"String","enrollmentStatus":"String","authenticationStatus":"String","eci":"String","cavv":"String","cavvAlgorithm":"String","paResVerified":"String","paResSyntaxOK":"String"},"statusCode":0,"message":"String","forcedPath":"String","forcedJSONRequest":"String","jsonRequest":"String","jsonResponse":"String","requestPath":"String","requestSent":"String","requestReceived":"String"}