public abstract class JuspayEnvironment extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
API_VERSION |
static String |
DEVELOPMENT_BASE_URL |
static String |
PRODUCTION_BASE_URL |
static String |
SANDBOX_BASE_URL |
static String |
SDK_VERSION |
| Constructor and Description |
|---|
JuspayEnvironment() |
| Modifier and Type | Method and Description |
|---|---|
static String |
getApiKey() |
static String |
getBaseUrl() |
static int |
getConnectTimeoutInMilliSeconds() |
static int |
getReadTimeoutInMilliSeconds() |
static JuspayEnvironment |
withApiKey(String newApiKey) |
static JuspayEnvironment |
withBaseUrl(String newBaseUrl) |
static JuspayEnvironment |
withConnectTimeoutInMilliSeconds(int connectTimeoutInMilliSeconds) |
static JuspayEnvironment |
withReadTimeoutInMilliSeconds(int readTimeoutInMilliSeconds) |
public static final String DEVELOPMENT_BASE_URL
public static final String SANDBOX_BASE_URL
public static final String PRODUCTION_BASE_URL
public static final String API_VERSION
public static final String SDK_VERSION
public static JuspayEnvironment withBaseUrl(String newBaseUrl)
public static JuspayEnvironment withApiKey(String newApiKey)
public static JuspayEnvironment withConnectTimeoutInMilliSeconds(int connectTimeoutInMilliSeconds)
public static JuspayEnvironment withReadTimeoutInMilliSeconds(int readTimeoutInMilliSeconds)
public static String getBaseUrl()
public static String getApiKey()
public static int getConnectTimeoutInMilliSeconds()
public static int getReadTimeoutInMilliSeconds()
Copyright © 2016 Juspay. All rights reserved.