public class Gp3DSProvider extends Object implements ISecure3dProvider
| Modifier and Type | Field and Description |
|---|---|
protected HashMap<String,String> |
headers |
protected String |
serviceUrl |
protected int |
timeout |
| Constructor and Description |
|---|
Gp3DSProvider() |
| Modifier and Type | Method and Description |
|---|---|
String |
doTransaction(String verb,
String endpoint) |
String |
doTransaction(String verb,
String endpoint,
String data) |
String |
doTransaction(String verb,
String endpoint,
String data,
HashMap<String,String> queryStringParams) |
HashMap<String,String> |
getHeaders() |
String |
getServiceUrl() |
int |
getTimeout() |
Secure3dVersion |
getVersion() |
protected String |
handleResponse(com.global.api.gateways.GatewayResponse response) |
Transaction |
processSecure3d(Secure3dBuilder builder) |
protected com.global.api.gateways.GatewayResponse |
sendRequest(String endpoint,
org.apache.http.entity.mime.MultipartEntity content) |
protected com.global.api.gateways.GatewayResponse |
sendRequest(String verb,
String endpoint) |
protected com.global.api.gateways.GatewayResponse |
sendRequest(String verb,
String endpoint,
String data) |
protected com.global.api.gateways.GatewayResponse |
sendRequest(String verb,
String endpoint,
String data,
HashMap<String,String> queryStringParams) |
void |
setAccountId(String accountId) |
void |
setChallengeNotificationUrl(String challengeNotificationUrl) |
void |
setEnableLogging(boolean enableLogging) |
void |
setHeaders(HashMap<String,String> headers) |
void |
setMerchantContactUrl(String merchantContactUrl) |
void |
setMerchantId(String merchantId) |
void |
setMethodNotificationUrl(String methodNotificationUrl) |
void |
setServiceUrl(String serviceUrl) |
void |
setSharedSecret(String sharedSecret) |
void |
setTimeout(int timeout) |
protected int timeout
protected String serviceUrl
public Secure3dVersion getVersion()
getVersion in interface ISecure3dProviderpublic void setAccountId(String accountId)
public void setMerchantId(String merchantId)
public void setSharedSecret(String sharedSecret)
public void setChallengeNotificationUrl(String challengeNotificationUrl)
public void setMerchantContactUrl(String merchantContactUrl)
public void setMethodNotificationUrl(String methodNotificationUrl)
public Transaction processSecure3d(Secure3dBuilder builder) throws ApiException
processSecure3d in interface ISecure3dProviderApiExceptionprotected String handleResponse(com.global.api.gateways.GatewayResponse response) throws GatewayException
GatewayExceptionpublic String doTransaction(String verb, String endpoint) throws GatewayException
GatewayExceptionpublic String doTransaction(String verb, String endpoint, String data) throws GatewayException
GatewayExceptionpublic String doTransaction(String verb, String endpoint, String data, HashMap<String,String> queryStringParams) throws GatewayException
GatewayExceptionpublic void setEnableLogging(boolean enableLogging)
public int getTimeout()
public void setTimeout(int timeout)
public String getServiceUrl()
public void setServiceUrl(String serviceUrl)
protected com.global.api.gateways.GatewayResponse sendRequest(String verb, String endpoint) throws GatewayException
GatewayExceptionprotected com.global.api.gateways.GatewayResponse sendRequest(String verb, String endpoint, String data) throws GatewayException
GatewayExceptionprotected com.global.api.gateways.GatewayResponse sendRequest(String verb, String endpoint, String data, HashMap<String,String> queryStringParams) throws GatewayException
GatewayExceptionprotected com.global.api.gateways.GatewayResponse sendRequest(String endpoint, org.apache.http.entity.mime.MultipartEntity content) throws GatewayException
GatewayExceptionCopyright © 2019. All rights reserved.