Class ClientInfo

java.lang.Object
paypal.payflow.ClientInfo

public final class ClientInfo extends Object
This class is used to store the Payflow Client related properties.
  • Constructor Details

    • ClientInfo

      public ClientInfo()
      Constructor
  • Method Details

    • getClientInfoHash

      protected Hashtable getClientInfoHash()
      Gets the client info hash table
      Returns:
      clientInfoHash HashTable
    • getClientVersion

      public String getClientVersion()
      gets the clientVersion
      Returns:
      clientVersion
    • getOsArchitecture

      protected String getOsArchitecture()
      Gets the OS architecture
      Returns:
      osArchitecture String
    • setOsArchitecture

      protected void setOsArchitecture(String value)
      Sets the OS architecture
      Parameters:
      value - String
    • getOsVersion

      protected String getOsVersion()
      gets the OS version
      Returns:
      osVersion String
    • setOsVersion

      protected void setOsVersion(String value)
      sets the OsVersion
      Parameters:
      value - String
    • getOsName

      protected String getOsName()
      Gets the OS Name
      Returns:
      osName String
    • setOsName

      protected void setOsName(String value)
      sets the OsName
      Parameters:
      value - String
    • getProxy

      protected String getProxy()
      Gets the Proxy header.
      Returns:
      proxy String
    • setProxy

      protected void setProxy(String value)
      sets the Proxy header
      Parameters:
      value - String
    • getRunTimeVersion

      protected String getRunTimeVersion()
      Gets the Java runtime version
      Returns:
      runTimeVersion String
    • setRunTimeVersion

      protected void setRunTimeVersion(String value)
      Sets the Java runtime version
      Parameters:
      value - String
    • setIntegrationProduct

      public void setIntegrationProduct(String value)
      Sets the integration product
      Parameters:
      value - String
    • setIntegrationVersion

      public void setIntegrationVersion(String value)
      Sets the integration version
      Parameters:
      value - String
    • getClientType

      public String getClientType()
      Gets Client Type
      Returns:
      ClientType String
    • setClientVersion

      protected void setClientVersion(String version)
      Sets client version
      Parameters:
      version - String
    • getIntegrationProduct

      protected String getIntegrationProduct()
      Gets integration product
      Returns:
      IntegrationProduct String
    • getIntegrationVersion

      protected String getIntegrationVersion()
      Gets integration version
      Returns:
      IntegrationVersion String
    • setClientType

      protected void setClientType(String clientType)
      Parameters:
      clientType - String
    • setPayflowAssembly

      protected void setPayflowAssembly(String payflowAssembly)
      payflowAssembly, the possible values are PayflowConstants.STRONG_ASSEMBLY or PayflowConstants.WEAK_ASSEMBLY
      Parameters:
      payflowAssembly - String
    • addHeaderToHash

      protected void addHeaderToHash(String headerName, Object headerValue)
      Adds a header to the header hash table
      Parameters:
      headerName - String
      headerValue - Object
    • getHeaderFromHash

      protected Object getHeaderFromHash(String headerName)
      Gets a header value from hash
      Parameters:
      headerName - String
      Returns:
      headerValue Object
    • getContext

      protected Context getContext()
    • setContext

      protected void setContext(Context context)
    • getRequestBuffer

      protected StringBuffer getRequestBuffer()
      Gets the Requestbuffer used for creating the actual request string.
      Returns:
      mRequestBuffer StringBuffer
    • setRequestBuffer

      protected void setRequestBuffer(StringBuffer value)
      sets the StringBuffer to hold the request string.
      Parameters:
      value - StringBuffer
    • generateRequest

      protected void generateRequest()