Package paypal.payflow
Class SDKProperties
java.lang.Object
paypal.payflow.SDKProperties
This class is used to set the SDK level properties.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Stringstatic intstatic Stringstatic intstatic intstatic Stringstatic Stringprotected static Stringstatic intstatic intstatic StringModified 09/20/2006protected static booleanprotected static booleanstatic booleanstatic voidsetHostAddress(String hostAddress) static voidsetHostPort(int hostPort) static voidsetLogFileName(String logFileName) static voidsetLoggingLevel(int loggingLevel) sets the logging level.static voidsetMaxLogFileSize(int maxLogFileSize) the max log file size in Bytesstatic voidsetProxyAddress(String proxyAddress) static voidsetProxyLogin(String proxyLogin) static voidsetProxyPassword(String proxyPassword) static voidsetProxyPort(int proxyPort) static voidsetStackTraceOn(boolean stackTraceOn) static voidsetTimeOut(int timeOut) static voidsetURLStreamHandlerClass(String urlStreamHandlerClass) Modified 09/20/2006
-
Constructor Details
-
SDKProperties
public SDKProperties()
-
-
Method Details
-
getMaxLogFileSize
public static int getMaxLogFileSize()- Returns:
- Returns the maxLogFileSize in Bytes.
-
setMaxLogFileSize
public static void setMaxLogFileSize(int maxLogFileSize) the max log file size in Bytes- Parameters:
maxLogFileSize- The maxLogFileSize to set.
-
getProxyLogin
- Returns:
- Returns the proxyLogin.
-
setProxyLogin
- Parameters:
proxyLogin- The proxyLogin to set.
-
getProxyPassword
- Returns:
- Returns the proxyPassword.
-
setProxyPassword
- Parameters:
proxyPassword- The proxyPassword to set.
-
getProxyPort
public static int getProxyPort()- Returns:
- Returns the proxyPort.
-
setProxyPort
public static void setProxyPort(int proxyPort) - Parameters:
proxyPort- The proxyPort to set.
-
isStackTraceOn
public static boolean isStackTraceOn()- Returns:
- Returns the stackTraceOn.
-
setStackTraceOn
public static void setStackTraceOn(boolean stackTraceOn) - Parameters:
stackTraceOn- The stackTraceOn to set.
-
getTimeOut
public static int getTimeOut()- Returns:
- Returns the timeOut in seconds.
-
setTimeOut
public static void setTimeOut(int timeOut) - Parameters:
timeOut- The timeOut to set in seconds.
-
getHostAddress
- Returns:
- Returns the hostAddress.
-
setHostAddress
- Parameters:
hostAddress- The hostAddress to set.
-
getHostPort
public static int getHostPort()- Returns:
- Returns the hostPort.
-
setHostPort
public static void setHostPort(int hostPort) - Parameters:
hostPort- The hostPort to set.
-
getLogFileName
- Returns:
- Returns the logFileName.
-
setLogFileName
- Parameters:
logFileName- The logFileName to set.
-
getLoggingLevel
public static int getLoggingLevel()- Returns:
- Returns the loggingLevel.
-
setLoggingLevel
public static void setLoggingLevel(int loggingLevel) sets the logging level.- Parameters:
loggingLevel- int - Possible values for loggingLevel in descending order:- PayflowConstants.LOGGING_OFF
- PayflowConstants.SEVERITY_FATAL
- PayflowConstants.SEVERITY_ERROR
- PayflowConstants.SEVERITY_WARN
- PayflowConstants.SEVERITY_INFO
- PayflowConstants.SEVERITY_DEBUG
-
getProxyAddress
- Returns:
- Returns the proxyAddress.
-
setProxyAddress
- Parameters:
proxyAddress- The proxyAddress to set.
-
isLogFileNameSet
protected static boolean isLogFileNameSet() -
isMaxlogFileSizeSet
protected static boolean isMaxlogFileSizeSet() -
getURLStreamHandlerClass
Modified 09/20/2006- Returns:
- Returns the application server specific URLStreamHandler class, if set.
-
setURLStreamHandlerClass
Modified 09/20/2006- Parameters:
urlStreamHandlerClass- Application server specific urlStreamHandlerClass to set.
-