| Requires the role: | Admin | Requires the permission: | ReadData |
| POST | /borgunTest3D/CompleteSaveCard | Test 3D - Complete Card Save After 3DS Challenge |
|---|
import java.math.*;
import java.util.*;
import net.servicestack.client.*;
public class dtos
{
public static class BorgunTest3DCompleteSaveCardRequest
{
public String sessionId = null;
public String paRes = null;
public String cRes = null;
public String pan = null;
public String cvc = null;
public String forcedPath = null;
public String forcedJSONRequest = null;
public Boolean skipBorgunCall = null;
public String getSessionId() { return sessionId; }
public BorgunTest3DCompleteSaveCardRequest setSessionId(String value) { this.sessionId = value; return this; }
public String getPaRes() { return paRes; }
public BorgunTest3DCompleteSaveCardRequest setPaRes(String value) { this.paRes = value; return this; }
public String getCRes() { return cRes; }
public BorgunTest3DCompleteSaveCardRequest setCRes(String value) { this.cRes = value; return this; }
public String getPan() { return pan; }
public BorgunTest3DCompleteSaveCardRequest setPan(String value) { this.pan = value; return this; }
public String getCvc() { return cvc; }
public BorgunTest3DCompleteSaveCardRequest setCvc(String value) { this.cvc = value; return this; }
public String getForcedPath() { return forcedPath; }
public BorgunTest3DCompleteSaveCardRequest setForcedPath(String value) { this.forcedPath = value; return this; }
public String getForcedJSONRequest() { return forcedJSONRequest; }
public BorgunTest3DCompleteSaveCardRequest setForcedJSONRequest(String value) { this.forcedJSONRequest = value; return this; }
public Boolean isSkipBorgunCall() { return skipBorgunCall; }
public BorgunTest3DCompleteSaveCardRequest setSkipBorgunCall(Boolean value) { this.skipBorgunCall = value; return this; }
}
public static class BorgunTest3DCompleteSaveCardResponse
{
public Integer statusCode = null;
public String message = null;
public Boolean success = null;
public String token = null;
public String virtualCardNumber = null;
public String cardType = null;
public Boolean isDebit = null;
public Boolean cardAlreadyExists = 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 Integer getStatusCode() { return statusCode; }
public BorgunTest3DCompleteSaveCardResponse setStatusCode(Integer value) { this.statusCode = value; return this; }
public String getMessage() { return message; }
public BorgunTest3DCompleteSaveCardResponse setMessage(String value) { this.message = value; return this; }
public Boolean isSuccess() { return success; }
public BorgunTest3DCompleteSaveCardResponse setSuccess(Boolean value) { this.success = value; return this; }
public String getToken() { return token; }
public BorgunTest3DCompleteSaveCardResponse setToken(String value) { this.token = value; return this; }
public String getVirtualCardNumber() { return virtualCardNumber; }
public BorgunTest3DCompleteSaveCardResponse setVirtualCardNumber(String value) { this.virtualCardNumber = value; return this; }
public String getCardType() { return cardType; }
public BorgunTest3DCompleteSaveCardResponse setCardType(String value) { this.cardType = value; return this; }
public Boolean getIsDebit() { return isDebit; }
public BorgunTest3DCompleteSaveCardResponse setIsDebit(Boolean value) { this.isDebit = value; return this; }
public Boolean isCardAlreadyExists() { return cardAlreadyExists; }
public BorgunTest3DCompleteSaveCardResponse setCardAlreadyExists(Boolean value) { this.cardAlreadyExists = value; return this; }
public String getForcedPath() { return forcedPath; }
public BorgunTest3DCompleteSaveCardResponse setForcedPath(String value) { this.forcedPath = value; return this; }
public String getForcedJSONRequest() { return forcedJSONRequest; }
public BorgunTest3DCompleteSaveCardResponse setForcedJSONRequest(String value) { this.forcedJSONRequest = value; return this; }
public String getJsonRequest() { return jsonRequest; }
public BorgunTest3DCompleteSaveCardResponse setJsonRequest(String value) { this.jsonRequest = value; return this; }
public String getJsonResponse() { return jsonResponse; }
public BorgunTest3DCompleteSaveCardResponse setJsonResponse(String value) { this.jsonResponse = value; return this; }
public String getRequestPath() { return requestPath; }
public BorgunTest3DCompleteSaveCardResponse setRequestPath(String value) { this.requestPath = value; return this; }
public String getRequestSent() { return requestSent; }
public BorgunTest3DCompleteSaveCardResponse setRequestSent(String value) { this.requestSent = value; return this; }
public String getRequestReceived() { return requestReceived; }
public BorgunTest3DCompleteSaveCardResponse setRequestReceived(String value) { this.requestReceived = value; return this; }
}
}
Java BorgunTest3DCompleteSaveCardRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /borgunTest3D/CompleteSaveCard HTTP/1.1
Host: stubbur-app.azurewebsites.net
Accept: application/xml
Content-Type: application/xml
Content-Length: length
<BorgunTest3DCompleteSaveCardRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TicketUserServices.ServiceModel">
<CRes>String</CRes>
<CVC>String</CVC>
<ForcedJSONRequest>String</ForcedJSONRequest>
<ForcedPath>String</ForcedPath>
<PAN>String</PAN>
<PARes>String</PARes>
<SessionId>String</SessionId>
<SkipBorgunCall>false</SkipBorgunCall>
</BorgunTest3DCompleteSaveCardRequest>
HTTP/1.1 200 OK Content-Type: application/xml Content-Length: length <BorgunTest3DCompleteSaveCardResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TicketUserServices.ServiceModel"> <CardAlreadyExists>false</CardAlreadyExists> <CardType>String</CardType> <ForcedJSONRequest>String</ForcedJSONRequest> <ForcedPath>String</ForcedPath> <IsDebit>false</IsDebit> <JSONRequest>String</JSONRequest> <JSONResponse>String</JSONResponse> <Message>String</Message> <RequestPath>String</RequestPath> <RequestReceived>String</RequestReceived> <RequestSent>String</RequestSent> <StatusCode>0</StatusCode> <Success>false</Success> <Token>String</Token> <VirtualCardNumber>String</VirtualCardNumber> </BorgunTest3DCompleteSaveCardResponse>