com.cybersource.ws.client
Class Client
java.lang.Object
com.cybersource.ws.client.Client
public class Client
- extends java.lang.Object
Class containing runTransaction() methods that accept the requests in the
form of a Map object.
|
Method Summary |
static java.util.Map |
runTransaction(java.util.Map<java.lang.String,java.lang.String> request,
java.util.Properties props)
Runs a transaction. |
static java.util.Map |
runTransaction(java.util.Map<java.lang.String,java.lang.String> request,
java.util.Properties props,
Logger _logger,
boolean prepare,
boolean logTranStart)
Runs a transaction. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Client
public Client()
runTransaction
public static java.util.Map runTransaction(java.util.Map<java.lang.String,java.lang.String> request,
java.util.Properties props)
throws FaultException,
ClientException
- Runs a transaction.
- Parameters:
request - request to send.props - properties the client needs to run the transaction.
See README for more information.
- Throws:
FaultException - if a fault occurs.
ClientException - if any other exception occurs.
runTransaction
public static java.util.Map runTransaction(java.util.Map<java.lang.String,java.lang.String> request,
java.util.Properties props,
Logger _logger,
boolean prepare,
boolean logTranStart)
throws FaultException,
ClientException
- Runs a transaction.
- Parameters:
request - request to send.props - properties the client needs to run the transaction.
See README for more information._logger - Logger object to used for logging.prepare - Flag as to whether or not the logger's
prepare() method should be called.logTranStart - Flag as to whether or not the logger's
logTransactionStart() method should be called.
- Throws:
FaultException - if a fault occurs.
ClientException - if any other exception occurs.
Copyright © 2017. All Rights Reserved.