Package
Class
Use
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
C
E
F
G
I
L
M
N
P
R
S
U
V
X
C
Client
- class com.cybersource.ws.client.
Client
.
Class containing runTransaction() methods that accept the requests in the form of a Map object.
Client()
- Constructor for class com.cybersource.ws.client.
Client
ClientException
- exception com.cybersource.ws.client.
ClientException
.
Exception class used by both Basic and XML clients.
ClientException(Exception, Logger)
- Constructor for class com.cybersource.ws.client.
ClientException
Constructor.
ClientException(Exception, boolean, Logger)
- Constructor for class com.cybersource.ws.client.
ClientException
Constructor.
ClientException(int, Logger)
- Constructor for class com.cybersource.ws.client.
ClientException
Constructor.
ClientException(int, String, Logger)
- Constructor for class com.cybersource.ws.client.
ClientException
Constructor.
ClientException(int, String, boolean, Logger)
- Constructor for class com.cybersource.ws.client.
ClientException
Constructor.
ConfigException
- exception com.cybersource.ws.client.
ConfigException
.
Exception thrown when something is missing or invalid in the configuration or when setting up of the log file fails.
ConfigException(String)
- Constructor for class com.cybersource.ws.client.
ConfigException
Constructor.
cacheIdentity(String, File)
- Static method in class com.cybersource.ws.client.
Signature
Reads the identity for the given merchant from the pkcs12 file and adds it to the cache.
com.cybersource.ws.client
- package com.cybersource.ws.client
Provides the classes that comprise the base package.
E
ENVIRONMENT
- Static variable in class com.cybersource.ws.client.
Utility
Environment information.
F
FaultException
- exception com.cybersource.ws.client.
FaultException
.
Exception that encapsulates a fault returned by CyberSource.
FaultException(Document, String, Logger)
- Constructor for class com.cybersource.ws.client.
FaultException
Constructor.
G
getEffectiveNamespaceURI()
- Method in class com.cybersource.ws.client.
MerchantConfig
Returns the effective namespace URI to be used to parse the request and reply documents.
getEffectiveNamespaceURI(Properties, String)
- Static method in class com.cybersource.ws.client.
XMLClient
Returns the effective namespace URI for the specified merchant id.
getEffectivePassword()
- Method in class com.cybersource.ws.client.
MerchantConfig
Returns the effective key password.
getEffectiveServerURL()
- Method in class com.cybersource.ws.client.
MerchantConfig
Returns the effective server URL to which the request will be sent.
getElement(Document, String, String)
- Static method in class com.cybersource.ws.client.
Utility
Returns the Element object corresponding to the given element name.
getElementText(Document, String, String)
- Static method in class com.cybersource.ws.client.
Utility
Returns the text value of the given element name in the CyberSource namespace.
getEnableLog()
- Method in class com.cybersource.ws.client.
MerchantConfig
getFaultCode()
- Method in class com.cybersource.ws.client.
FaultException
Returns the fault code.
getFaultDocument()
- Method in class com.cybersource.ws.client.
FaultException
Returns the fault document passed in the constructor.
getFaultString()
- Method in class com.cybersource.ws.client.
FaultException
Returns the fault string.
getHttpError()
- Method in class com.cybersource.ws.client.
ClientException
Returns additional HTTP error information, if any.
getHttpStatusCode()
- Method in class com.cybersource.ws.client.
ClientException
Returns the HTTP status code, if any.
getInnerException()
- Method in class com.cybersource.ws.client.
ClientException
Returns the actual exception that occurred, if any.
getInnerException()
- Method in class com.cybersource.ws.client.
SignException
Gets the actual exception that occurred.
getKeyFile()
- Method in class com.cybersource.ws.client.
MerchantConfig
Returns a File object representing the key file.
getKeyFilename()
- Method in class com.cybersource.ws.client.
MerchantConfig
getKeysDirectory()
- Method in class com.cybersource.ws.client.
MerchantConfig
getLogDirectory()
- Method in class com.cybersource.ws.client.
MerchantConfig
getLogFile()
- Method in class com.cybersource.ws.client.
MerchantConfig
Returns a File object representing the log file.
getLogFilename()
- Method in class com.cybersource.ws.client.
MerchantConfig
getLogMaximumSize()
- Method in class com.cybersource.ws.client.
MerchantConfig
getLogSignedData()
- Method in class com.cybersource.ws.client.
MerchantConfig
getLogString()
- Method in class com.cybersource.ws.client.
ClientException
Returns a string representation of the object for logging purposes.
getLogString()
- Method in class com.cybersource.ws.client.
FaultException
Returns a string representation of the object for logging purposes.
getLogString()
- Method in class com.cybersource.ws.client.
MerchantConfig
Returns a string representation of the properties for logging purposes.
getLogger()
- Method in class com.cybersource.ws.client.
LoggerWrapper
Returns the encapsulated Logger object.
getMerchantID()
- Method in class com.cybersource.ws.client.
MerchantConfig
getMessage()
- Method in class com.cybersource.ws.client.
ClientException
Returns a description of the exception.
getMessage()
- Method in class com.cybersource.ws.client.
FaultException
Returns a description of the exception.
getMessage()
- Method in class com.cybersource.ws.client.
SignException
Returns the message in the inner exception.
getNamespaceURI()
- Method in class com.cybersource.ws.client.
MerchantConfig
getPassword()
- Method in class com.cybersource.ws.client.
MerchantConfig
getProperty(String, String)
- Method in class com.cybersource.ws.client.
MerchantConfig
Returns the value of the specified property.
getProperty(String, String, String)
- Method in class com.cybersource.ws.client.
MerchantConfig
Returns the value of the specified property.
getProxyHost()
- Method in class com.cybersource.ws.client.
MerchantConfig
getProxyPassword()
- Method in class com.cybersource.ws.client.
MerchantConfig
getProxyPort()
- Method in class com.cybersource.ws.client.
MerchantConfig
getProxyUser()
- Method in class com.cybersource.ws.client.
MerchantConfig
getRequestID()
- Method in class com.cybersource.ws.client.
FaultException
Returns the request id returned by CyberSource.
getSendToProduction()
- Method in class com.cybersource.ws.client.
MerchantConfig
getServerURL()
- Method in class com.cybersource.ws.client.
MerchantConfig
getStackTrace(Exception)
- Static method in class com.cybersource.ws.client.
Utility
Returns the stack trace of the supplied Exception object.
getTargetAPIVersion()
- Method in class com.cybersource.ws.client.
MerchantConfig
getTimeout()
- Method in class com.cybersource.ws.client.
MerchantConfig
getUseHttpClient()
- Method in class com.cybersource.ws.client.
MerchantConfig
I
initializeContext()
- Static method in class com.cybersource.ws.client.
Signature
Initializes the context used by the security library.
isCritical()
- Method in class com.cybersource.ws.client.
ClientException
Returns whether or not this exception is critical.
isCritical()
- Method in class com.cybersource.ws.client.
FaultException
Returns whether or not this exception is critical.
L
LT_EXCEPTION
- Static variable in interface com.cybersource.ws.client.
Logger
LT_FAULT
- Static variable in interface com.cybersource.ws.client.
Logger
LT_FILESTART
- Static variable in interface com.cybersource.ws.client.
Logger
LT_INFO
- Static variable in interface com.cybersource.ws.client.
Logger
LT_MERCHCFG
- Static variable in interface com.cybersource.ws.client.
Logger
LT_PROXYCFG
- Static variable in interface com.cybersource.ws.client.
Logger
LT_REPLY
- Static variable in interface com.cybersource.ws.client.
Logger
LT_REQUEST
- Static variable in interface com.cybersource.ws.client.
Logger
LT_TRANSTART
- Static variable in interface com.cybersource.ws.client.
Logger
Logger
- interface com.cybersource.ws.client.
Logger
.
Interface that may be implemented to supply a different Logger object to the runTransaction() method of the clients.
LoggerImpl
- class com.cybersource.ws.client.
LoggerImpl
.
Default file-based implementation of the Logger interface.
LoggerImpl(MerchantConfig)
- Constructor for class com.cybersource.ws.client.
LoggerImpl
Constructor.
LoggerWrapper
- class com.cybersource.ws.client.
LoggerWrapper
.
An internal class used by the clients to encapsulate the logger, primarily to avoid having to check if the Logger object is null before logging.
LoggerWrapper(Logger, boolean, boolean, MerchantConfig)
- Constructor for class com.cybersource.ws.client.
LoggerWrapper
Constructor.
log(Logger)
- Method in class com.cybersource.ws.client.
ClientException
Logs the exception details.
log(Logger)
- Method in class com.cybersource.ws.client.
FaultException
Logs the fault details.
log(String, String)
- Method in interface com.cybersource.ws.client.
Logger
This is where the actual logging takes place.
log(String, String)
- Method in class com.cybersource.ws.client.
LoggerImpl
Logs the text specified.
log(String, String)
- Method in class com.cybersource.ws.client.
LoggerWrapper
Calls the encapsulated Logger object's log() method.
logTransactionStart()
- Method in interface com.cybersource.ws.client.
Logger
This is where the entry that marks the start of the transaction should be logged.
logTransactionStart()
- Method in class com.cybersource.ws.client.
LoggerImpl
Logs an LT_TRANSTART entry.
logTransactionStart()
- Method in class com.cybersource.ws.client.
LoggerWrapper
Calls the encapsulated Logger object's logTransactionStart() method.
M
MerchantConfig
- class com.cybersource.ws.client.
MerchantConfig
.
An internal class used by the clients to hold and derive the properties applicable to the current transaction.
MerchantConfig(Properties, String)
- Constructor for class com.cybersource.ws.client.
MerchantConfig
Constructor.
N
newDocumentBuilder()
- Static method in class com.cybersource.ws.client.
Utility
Returns a DocumentBuilder object.
nodeToString(Node, int)
- Static method in class com.cybersource.ws.client.
Utility
Returns the string representation of the given Node object.
nodeToString(Node)
- Static method in class com.cybersource.ws.client.
Utility
Returns the string representation of the given Node object.
P
prepare()
- Method in interface com.cybersource.ws.client.
Logger
This is where any PER-TRANSACTION preparation should be done.
prepare()
- Method in class com.cybersource.ws.client.
LoggerImpl
Prepares the file by checking if it has reached the maximum size and if so, archives it.
prepare()
- Method in class com.cybersource.ws.client.
LoggerWrapper
Calls the encapsulated Logger object's prepare() method.
printStackTrace()
- Method in class com.cybersource.ws.client.
SignException
Prints this exception's stack trace to the standard error stream.
printStackTrace(PrintWriter)
- Method in class com.cybersource.ws.client.
SignException
Prints this exception's stack trace to the specified print writer.
R
read(String)
- Static method in class com.cybersource.ws.client.
Utility
Reads the content of the given file into a byte array.
read(File)
- Static method in class com.cybersource.ws.client.
Utility
Reads the content of the given file into a byte array.
read(InputStream)
- Static method in class com.cybersource.ws.client.
Utility
Reads the content of the given file into a byte array.
readProperties(String[])
- Static method in class com.cybersource.ws.client.
Utility
Reads the properties from a file.
runTransaction(Map, Properties)
- Static method in class com.cybersource.ws.client.
Client
Runs a transaction.
runTransaction(Map, Properties, Logger, boolean, boolean)
- Static method in class com.cybersource.ws.client.
Client
Runs a transaction.
runTransaction(Document, Properties)
- Static method in class com.cybersource.ws.client.
XMLClient
Runs a transaction.
runTransaction(Document, Properties, Logger, boolean, boolean)
- Static method in class com.cybersource.ws.client.
XMLClient
Runs a transaction.
S
SignException
- exception com.cybersource.ws.client.
SignException
.
Exception that is thrown by the Signature object.
SignException(Exception)
- Constructor for class com.cybersource.ws.client.
SignException
Sole constructor.
Signature
- class com.cybersource.ws.client.
Signature
.
Contains the method that signs the requests.
Signature()
- Constructor for class com.cybersource.ws.client.
Signature
sign(String, File, Document)
- Static method in class com.cybersource.ws.client.
Signature
Signs the given document.
U
Utility
- class com.cybersource.ws.client.
Utility
.
Class containing useful constants and methods.
V
VERSION
- Static variable in class com.cybersource.ws.client.
Utility
Version number of this release.
X
XMLClient
- class com.cybersource.ws.client.
XMLClient
.
Class containing runTransaction() methods that accept the requests in the form of a Document object.
XMLClient()
- Constructor for class com.cybersource.ws.client.
XMLClient
C
E
F
G
I
L
M
N
P
R
S
U
V
X
Package
Class
Use
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
Copyright © 2003-2006 CyberSource Corporation. All Rights Reserved.