Class SDKProperties

java.lang.Object
paypal.payflow.SDKProperties

public class SDKProperties extends Object
This class is used to set the SDK level properties.
  • 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

      public static String getProxyLogin()
      Returns:
      Returns the proxyLogin.
    • setProxyLogin

      public static void setProxyLogin(String proxyLogin)
      Parameters:
      proxyLogin - The proxyLogin to set.
    • getProxyPassword

      protected static String getProxyPassword()
      Returns:
      Returns the proxyPassword.
    • setProxyPassword

      public static void setProxyPassword(String proxyPassword)
      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

      public static String getHostAddress()
      Returns:
      Returns the hostAddress.
    • setHostAddress

      public static void setHostAddress(String hostAddress)
      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

      public static String getLogFileName()
      Returns:
      Returns the logFileName.
    • setLogFileName

      public static void setLogFileName(String logFileName)
      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:
      1. PayflowConstants.LOGGING_OFF
      2. PayflowConstants.SEVERITY_FATAL
      3. PayflowConstants.SEVERITY_ERROR
      4. PayflowConstants.SEVERITY_WARN
      5. PayflowConstants.SEVERITY_INFO
      6. PayflowConstants.SEVERITY_DEBUG
      .
    • getProxyAddress

      public static String getProxyAddress()
      Returns:
      Returns the proxyAddress.
    • setProxyAddress

      public static void setProxyAddress(String proxyAddress)
      Parameters:
      proxyAddress - The proxyAddress to set.
    • isLogFileNameSet

      protected static boolean isLogFileNameSet()
    • isMaxlogFileSizeSet

      protected static boolean isMaxlogFileSizeSet()
    • getURLStreamHandlerClass

      public static String getURLStreamHandlerClass()
      Modified 09/20/2006
      Returns:
      Returns the application server specific URLStreamHandler class, if set.
    • setURLStreamHandlerClass

      public static void setURLStreamHandlerClass(String urlStreamHandlerClass)
      Modified 09/20/2006
      Parameters:
      urlStreamHandlerClass - Application server specific urlStreamHandlerClass to set.