com.chargebee
Class Environment
java.lang.Object
com.chargebee.Environment
public class Environment
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
apiKey
public final String apiKey
- You can generate API keys from the ChargeBee web interface.
siteName
public final String siteName
- Your chargebee subdomain. Could be your sandbox or production.
connectTimeout
public int connectTimeout
- Timeout value, in milliseconds, to be used when trying to conect to the
chargebee api server. If the timeout expires before the connection can be
established, a java.net.SocketTimeoutException is raised. A timeout of
zero is interpreted as an infinite timeout.
readTimeout
public int readTimeout
- Timeout value, in milliseconds, to be used when reading response from the
chargebee api server. If the timeout expires before there is data available
for read, a java.net.SocketTimeoutException is raised. A timeout of zero
is interpreted as an infinite timeout.
CHARSET
public static final String CHARSET
- See Also:
- Constant Field Values
API_VERSION
public static final String API_VERSION
- See Also:
- Constant Field Values
LIBRARY_VERSION
public static final String LIBRARY_VERSION
- See Also:
- Constant Field Values
Environment
public Environment(String siteName,
String apiKey)
Environment
public Environment(String siteName,
String apiKey,
RequestInterceptor reqInterceptor)
configure
public static void configure(String siteName,
String apikey)
reqInterceptor
public static void reqInterceptor(RequestInterceptor reqInterceptor)
reqInterceptor
public RequestInterceptor reqInterceptor()
defaultConfig
public static Environment defaultConfig()
apiBaseUrl
public String apiBaseUrl()
Copyright © 2019 ChargeBee. All Rights Reserved.