TicketUserServices

<back to all web services

BorgunServices3DFinishProcessRequestShortVersion

Requires Authentication
Requires the role:AdminRequires the permission:ReadData
The following routes are available for this service:
POST/borgunServices/Finish3DProcessShortVersionTest 3D
import java.math.*;
import java.util.*;
import net.servicestack.client.*;

public class dtos
{

    public static class BorgunServices3DFinishProcessRequestShortVersion
    {
        public Borgun3DFinalRequestShortVersion request = null;
        
        public Borgun3DFinalRequestShortVersion getRequest() { return request; }
        public BorgunServices3DFinishProcessRequestShortVersion setRequest(Borgun3DFinalRequestShortVersion value) { this.request = 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 BorgunServices3DFinishProcessResponse
    {
        public BorgunFinal3DResponse response = null;
        public Boolean success = null;
        public Integer httpStatusCode = null;
        public String message = null;
        
        public BorgunFinal3DResponse getResponse() { return response; }
        public BorgunServices3DFinishProcessResponse setResponse(BorgunFinal3DResponse value) { this.response = value; return this; }
        public Boolean isSuccess() { return success; }
        public BorgunServices3DFinishProcessResponse setSuccess(Boolean value) { this.success = value; return this; }
        public Integer getHttpStatusCode() { return httpStatusCode; }
        public BorgunServices3DFinishProcessResponse setHttpStatusCode(Integer value) { this.httpStatusCode = value; return this; }
        public String getMessage() { return message; }
        public BorgunServices3DFinishProcessResponse setMessage(String value) { this.message = 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 BorgunServices3DFinishProcessRequestShortVersion DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv

HTTP + JSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /borgunServices/Finish3DProcessShortVersion HTTP/1.1 
Host: stubbur-autoupdates-live.smartnewapis.com 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	request: 
	{
		amount: 0,
		mpiToken: String,
		orderId: String,
		token: String
	}
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	response: 
	{
		transactionId: String,
		transactionType: String,
		amount: 0,
		currency: String,
		transactionDate: 0001-01-01,
		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
	},
	success: False,
	httpStatusCode: 0,
	message: String
}