Requires the role: | Admin | Requires the permission: | ReadData |
POST | /borgunTest3D/Finish3DProcessShortVersion | Test 3D |
---|
import java.math.*;
import java.util.*;
import net.servicestack.client.*;
public class dtos
{
public static class BorgunTest3DFinishProcessRequestShortVersion
{
public Borgun3DFinalRequestShortVersion request = null;
public String forcedPath = null;
public String forcedJSONRequest = null;
public Boolean skipBorgunCall = null;
public Borgun3DFinalRequestShortVersion getRequest() { return request; }
public BorgunTest3DFinishProcessRequestShortVersion setRequest(Borgun3DFinalRequestShortVersion value) { this.request = value; return this; }
public String getForcedPath() { return forcedPath; }
public BorgunTest3DFinishProcessRequestShortVersion setForcedPath(String value) { this.forcedPath = value; return this; }
public String getForcedJSONRequest() { return forcedJSONRequest; }
public BorgunTest3DFinishProcessRequestShortVersion setForcedJSONRequest(String value) { this.forcedJSONRequest = value; return this; }
public Boolean isSkipBorgunCall() { return skipBorgunCall; }
public BorgunTest3DFinishProcessRequestShortVersion setSkipBorgunCall(Boolean value) { this.skipBorgunCall = value; return this; }
}
public static class Borgun3DFinalRequestShortVersion
{
public Integer amount = null;
public String mpiToken = null;
public String orderId = null;
public String token = null;
public Integer getAmount() { return amount; }
public Borgun3DFinalRequestShortVersion setAmount(Integer value) { this.amount = value; return this; }
public String getMpiToken() { return mpiToken; }
public Borgun3DFinalRequestShortVersion setMpiToken(String value) { this.mpiToken = value; return this; }
public String getOrderId() { return orderId; }
public Borgun3DFinalRequestShortVersion setOrderId(String value) { this.orderId = value; return this; }
public String getToken() { return token; }
public Borgun3DFinalRequestShortVersion setToken(String value) { this.token = value; return this; }
}
public static class BorgunTest3DFinishProcessResponse
{
public BorgunFinal3DResponse 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 BorgunFinal3DResponse getResponse() { return response; }
public BorgunTest3DFinishProcessResponse setResponse(BorgunFinal3DResponse value) { this.response = value; return this; }
public Integer getStatusCode() { return statusCode; }
public BorgunTest3DFinishProcessResponse setStatusCode(Integer value) { this.statusCode = value; return this; }
public String getMessage() { return message; }
public BorgunTest3DFinishProcessResponse setMessage(String value) { this.message = value; return this; }
public String getForcedPath() { return forcedPath; }
public BorgunTest3DFinishProcessResponse setForcedPath(String value) { this.forcedPath = value; return this; }
public String getForcedJSONRequest() { return forcedJSONRequest; }
public BorgunTest3DFinishProcessResponse setForcedJSONRequest(String value) { this.forcedJSONRequest = value; return this; }
public String getJsonRequest() { return jsonRequest; }
public BorgunTest3DFinishProcessResponse setJsonRequest(String value) { this.jsonRequest = value; return this; }
public String getJsonResponse() { return jsonResponse; }
public BorgunTest3DFinishProcessResponse setJsonResponse(String value) { this.jsonResponse = value; return this; }
public String getRequestPath() { return requestPath; }
public BorgunTest3DFinishProcessResponse setRequestPath(String value) { this.requestPath = value; return this; }
public String getRequestSent() { return requestSent; }
public BorgunTest3DFinishProcessResponse setRequestSent(String value) { this.requestSent = value; return this; }
public String getRequestReceived() { return requestReceived; }
public BorgunTest3DFinishProcessResponse setRequestReceived(String value) { this.requestReceived = value; return this; }
}
public static class BorgunFinal3DResponse
{
public String transactionId = null;
public String transactionType = null;
public Integer amount = null;
public String currency = null;
public Date transactionDate = null;
public String oorderId = null;
public String authCode = null;
public String actionCode = null;
public String transactionStatus = null;
public BorgunPaymentMethodInfo paymentMethod = null;
public Borgun3DSecureInfo threeDSecure = null;
public String lifeCycleId = null;
public String getTransactionId() { return transactionId; }
public BorgunFinal3DResponse setTransactionId(String value) { this.transactionId = value; return this; }
public String getTransactionType() { return transactionType; }
public BorgunFinal3DResponse setTransactionType(String value) { this.transactionType = value; return this; }
public Integer getAmount() { return amount; }
public BorgunFinal3DResponse setAmount(Integer value) { this.amount = value; return this; }
public String getCurrency() { return currency; }
public BorgunFinal3DResponse setCurrency(String value) { this.currency = value; return this; }
public Date getTransactionDate() { return transactionDate; }
public BorgunFinal3DResponse setTransactionDate(Date value) { this.transactionDate = value; return this; }
public String getOorderId() { return oorderId; }
public BorgunFinal3DResponse setOorderId(String value) { this.oorderId = value; return this; }
public String getAuthCode() { return authCode; }
public BorgunFinal3DResponse setAuthCode(String value) { this.authCode = value; return this; }
public String getActionCode() { return actionCode; }
public BorgunFinal3DResponse setActionCode(String value) { this.actionCode = value; return this; }
public String getTransactionStatus() { return transactionStatus; }
public BorgunFinal3DResponse setTransactionStatus(String value) { this.transactionStatus = value; return this; }
public BorgunPaymentMethodInfo getPaymentMethod() { return paymentMethod; }
public BorgunFinal3DResponse setPaymentMethod(BorgunPaymentMethodInfo value) { this.paymentMethod = value; return this; }
public Borgun3DSecureInfo getThreeDSecure() { return threeDSecure; }
public BorgunFinal3DResponse setThreeDSecure(Borgun3DSecureInfo value) { this.threeDSecure = value; return this; }
public String getLifeCycleId() { return lifeCycleId; }
public BorgunFinal3DResponse setLifeCycleId(String value) { this.lifeCycleId = value; return this; }
}
public static class BorgunPaymentMethodInfo
{
public String paymentType = null;
public String pan = null;
public String token = null;
public String cardType = null;
public String isDebit = null;
public String getPaymentType() { return paymentType; }
public BorgunPaymentMethodInfo setPaymentType(String value) { this.paymentType = value; return this; }
public String getPan() { return pan; }
public BorgunPaymentMethodInfo setPan(String value) { this.pan = value; return this; }
public String getToken() { return token; }
public BorgunPaymentMethodInfo setToken(String value) { this.token = value; return this; }
public String getCardType() { return cardType; }
public BorgunPaymentMethodInfo setCardType(String value) { this.cardType = value; return this; }
public String getIsDebit() { return isDebit; }
public BorgunPaymentMethodInfo setIsDebit(String value) { this.isDebit = value; return this; }
}
public static class Borgun3DSecureInfo
{
public String securityLevelInd = null;
public String xid = null;
public String getSecurityLevelInd() { return securityLevelInd; }
public Borgun3DSecureInfo setSecurityLevelInd(String value) { this.securityLevelInd = value; return this; }
public String getXid() { return xid; }
public Borgun3DSecureInfo setXid(String value) { this.xid = value; return this; }
}
}
Java BorgunTest3DFinishProcessRequestShortVersion DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /borgunTest3D/Finish3DProcessShortVersion HTTP/1.1
Host: stubbur-autoupdates-live.smartnewapis.com
Accept: application/json
Content-Type: application/json
Content-Length: length
{"request":{"amount":0,"mpiToken":"String","orderId":"String","token":"String"},"forcedPath":"String","forcedJSONRequest":"String","skipBorgunCall":false}
HTTP/1.1 200 OK Content-Type: application/json Content-Length: length {"response":{"transactionId":"String","transactionType":"String","amount":0,"currency":"String","transactionDate":"0001-01-01T00:00:00.0000000","oorderId":"String","authCode":"String","actionCode":"String","transactionStatus":"String","paymentMethod":{"paymentType":"String","pan":"String","token":"String","cardType":"String","isDebit":"String"},"threeDSecure":{"securityLevelInd":"String","xid":"String"},"lifeCycleId":"String"},"statusCode":0,"message":"String","forcedPath":"String","forcedJSONRequest":"String","jsonRequest":"String","jsonResponse":"String","requestPath":"String","requestSent":"String","requestReceived":"String"}