public class Cashier extends java.lang.Object implements CommandConstants
Constructor and Description |
---|
Cashier(java.lang.String profileDirectory)
Deprecated.
Constructs a cashier.
|
Cashier(java.lang.String profileDirectory, java.lang.String paymentManagerHostname, int paymentManagerPort, java.lang.String socksHostname, int socksPort, java.lang.String userid, java.lang.String password, boolean useSSL)
Deprecated.
Constructs a cashier and specifies WebSphere Commerce Payments configuration information (including socks server information).
|
Cashier(java.lang.String profileDirectory, java.lang.String paymentManagerHostname, int paymentManagerPort, java.lang.String userid, java.lang.String password, boolean useSSL)
Deprecated.
Constructs a cashier and specifies Commerce Payments configuration information (excluding socks server information).
|
Modifier and Type | Method and Description |
---|---|
CheckPaymentResponse | checkPayment(java.lang.String merchantNumber, java.lang.String orderNumber)
Deprecated.
This method checks the status of an order on WebSphere Commerce Payments system.
|
CheckPaymentResponse | checkPayment(java.lang.String profileName, java.lang.String merchantNumber, java.lang.String orderNumber)
Deprecated.
This method checks the status of an order on WebSphere Commerce Payments system.
|
PaymentServerResponse | collectPayment(java.lang.String profileName, java.util.Locale locale, java.util.Hashtable environmentValues)
Deprecated.
This method creates an order on WebSphere Commerce Payments system.
|
PaymentServerResponse | collectPayment(java.lang.String profileName, java.util.Locale locale, java.util.Hashtable environmentValues, java.sql.Connection connection)
Deprecated.
This method creates an order on WebSphere Commerce Payments system.
|
PaymentServerResponse | collectPayment(java.lang.String profileName, java.util.Locale locale, java.util.Hashtable environmentValues, Queryable queryable)
Deprecated.
This method creates an order on WebSphere Commerce Payments system.
|
boolean | doesCommandRequireConnection(int command, java.lang.String profileName)
Deprecated.
Returns an indication of whether or not the referenced profile will require a Connection object when calling the command.
|
boolean | doesProfileRequireConnection(java.lang.String profileName)
Deprecated.
Returns an indication of whether or not the referenced profile will require a Connection object when calling collectPayment.
|
boolean | doesProfileUseWallet(java.lang.String profileName)
Deprecated.
Returns an indication of whether or not the specified profile uses a wallet.
|
java.lang.String | getBuyPageInformation(java.lang.String profileName)
Deprecated.
Returns the Buy Page Information for CollectPayment of the specified profile.
|
java.lang.String | getBuyPageInformation(java.lang.String profileName, int command)
Deprecated.
Returns the Buy Page Information for the specified profile and command.
|
java.lang.String | getBuyPageInformationReference(java.lang.String profileName)
Deprecated.
Returns the Buy Page Information reference for CollectPayment of the specified profile.
|
java.lang.String | getBuyPageInformationReference(java.lang.String profileName, int command)
Deprecated.
Returns the Buy Page Information reference for the specified profile and command.
|
PaymentServerClient | getPaymentServerClient(java.lang.String profileName)
Deprecated.
Returns a PaymentServerClient which can be used to issue API commands to WebSphere Commerce Payments.
|
PaymentServerResponse | issueCommand(int command, java.lang.String profileName, java.util.Locale locale, java.util.Map environmentValues)
Deprecated.
This method issues a command on WebSphere Commerce Payments system.
|
PaymentServerResponse | issueCommand(int command, java.lang.String profileName, java.util.Locale locale, java.util.Map environmentValues, java.sql.Connection connection)
Deprecated.
This method issues a command on WebSphere Commerce Payments system.
|
PaymentServerResponse | issueCommand(int command, java.lang.String profileName, java.util.Locale locale, java.util.Map environmentValues, Queryable queryable)
Deprecated.
This method issues a command on WebSphere Commerce Payments system.
|
void | setDTDPath(java.lang.String DTDPath)
Deprecated.
Sets the DTD path to be used by the Cashier.
|
void | setPassword(java.lang.String password)
Deprecated.
Sets the password to be used by the Cashier.
|
void | setTraceClass(CashierTrace cashierTrace)
Deprecated.
Sets the class which the cashier will use to trace.
|
void | setUserid(java.lang.String userid)
Deprecated.
Sets the userid to be used by the Cashier.
|
public Cashier(java.lang.String profileDirectory) throws CashierException
public Cashier(java.lang.String profileDirectory, java.lang.String paymentManagerHostname, int paymentManagerPort, java.lang.String userid, java.lang.String password, boolean useSSL) throws CashierException
public Cashier(java.lang.String profileDirectory, java.lang.String paymentManagerHostname, int paymentManagerPort, java.lang.String socksHostname, int socksPort, java.lang.String userid, java.lang.String password, boolean useSSL) throws CashierException
public void setTraceClass(CashierTrace cashierTrace)
public void setPassword(java.lang.String password)
public void setUserid(java.lang.String userid)
public void setDTDPath(java.lang.String DTDPath)
public PaymentServerResponse collectPayment(java.lang.String profileName, java.util.Locale locale, java.util.Hashtable environmentValues) throws CashierException, ProfileException, PaymentServerCommunicationException
public PaymentServerResponse collectPayment(java.lang.String profileName, java.util.Locale locale, java.util.Hashtable environmentValues, java.sql.Connection connection) throws CashierException, ProfileException, PaymentServerCommunicationException
public PaymentServerResponse collectPayment(java.lang.String profileName, java.util.Locale locale, java.util.Hashtable environmentValues, Queryable queryable) throws CashierException, ProfileException, PaymentServerCommunicationException
public CheckPaymentResponse checkPayment(java.lang.String merchantNumber, java.lang.String orderNumber) throws CashierException, ProfileException, PaymentServerCommunicationException
public CheckPaymentResponse checkPayment(java.lang.String profileName, java.lang.String merchantNumber, java.lang.String orderNumber) throws CashierException, ProfileException, PaymentServerCommunicationException
public java.lang.String getBuyPageInformation(java.lang.String profileName) throws ProfileException
public java.lang.String getBuyPageInformationReference(java.lang.String profileName) throws ProfileException
public java.lang.String getBuyPageInformation(java.lang.String profileName, int command) throws ProfileException
public java.lang.String getBuyPageInformationReference(java.lang.String profileName, int command) throws ProfileException
public boolean doesProfileUseWallet(java.lang.String profileName) throws ProfileException
public boolean doesProfileRequireConnection(java.lang.String profileName) throws ProfileException
public boolean doesCommandRequireConnection(int command, java.lang.String profileName) throws ProfileException
public PaymentServerClient getPaymentServerClient(java.lang.String profileName) throws ProfileException
public PaymentServerResponse issueCommand(int command, java.lang.String profileName, java.util.Locale locale, java.util.Map environmentValues) throws CashierException, ProfileException, PaymentServerCommunicationException
public PaymentServerResponse issueCommand(int command, java.lang.String profileName, java.util.Locale locale, java.util.Map environmentValues, java.sql.Connection connection) throws CashierException, ProfileException, PaymentServerCommunicationException
public PaymentServerResponse issueCommand(int command, java.lang.String profileName, java.util.Locale locale, java.util.Map environmentValues, Queryable queryable) throws CashierException, ProfileException, PaymentServerCommunicationException