public abstract class JuspayEntity extends Object
| Modifier and Type | Class and Description |
|---|---|
protected static class |
JuspayEntity.AuthMethod |
protected static class |
JuspayEntity.RequestMethod |
| Constructor and Description |
|---|
JuspayEntity() |
| Modifier and Type | Method and Description |
|---|---|
protected static com.google.gson.JsonObject |
addInputParamsToResponse(Map<String,Object> params,
com.google.gson.JsonObject response) |
protected static <T> T |
createEntityFromResponse(com.google.gson.JsonElement response,
Class<T> entityClass) |
protected static Map<String,Object> |
encryptRequest(Map<String,Object> params,
JweJwsEncryptionKeys jweJwsEncryptionKeys) |
protected static JuspayEntity.AuthMethod |
getEncryptionMethodBasedOnConfig(RequestOptions requestOptions) |
protected static com.google.gson.JsonObject |
makeServiceCall(String path,
Map<String,Object> params,
JuspayEntity.RequestMethod method,
RequestOptions requestOptions) |
protected static com.google.gson.JsonObject |
makeServiceCall(String path,
Map<String,Object> params,
JuspayEntity.RequestMethod method,
RequestOptions requestOptions,
JuspayEntity.AuthMethod authMethod) |
protected static com.google.gson.JsonObject |
makeServiceCallWithAuthDecider(String path,
Map<String,Object> params,
JuspayEntity.RequestMethod method,
RequestOptions requestOptions) |
protected static JuspayEntity.AuthMethod getEncryptionMethodBasedOnConfig(RequestOptions requestOptions)
protected static com.google.gson.JsonObject makeServiceCall(String path, Map<String,Object> params, JuspayEntity.RequestMethod method, RequestOptions requestOptions) throws APIException, APIConnectionException, AuthorizationException, AuthenticationException, InvalidRequestException
protected static com.google.gson.JsonObject makeServiceCallWithAuthDecider(String path, Map<String,Object> params, JuspayEntity.RequestMethod method, RequestOptions requestOptions) throws APIException, APIConnectionException, AuthorizationException, AuthenticationException, InvalidRequestException
protected static com.google.gson.JsonObject makeServiceCall(String path, Map<String,Object> params, JuspayEntity.RequestMethod method, RequestOptions requestOptions, JuspayEntity.AuthMethod authMethod) throws APIException, APIConnectionException, AuthorizationException, AuthenticationException, InvalidRequestException
protected static Map<String,Object> encryptRequest(Map<String,Object> params, JweJwsEncryptionKeys jweJwsEncryptionKeys) throws APIException
APIExceptionprotected static com.google.gson.JsonObject addInputParamsToResponse(Map<String,Object> params, com.google.gson.JsonObject response)
protected static <T> T createEntityFromResponse(com.google.gson.JsonElement response,
Class<T> entityClass)
Copyright © 2023 Juspay. All rights reserved.