public interface ReclearSession
Java interface describes a session for reclearing a transaction set.
You must first open the session. After all the reclear, you must close the session.
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes the reclear session; This method must be applied after a set of reclear operation.
|
void |
initialize(java.util.Properties props)
Initializes the transaction processor with some properties;
This method is called by the SAP CC system at startup time.
|
void |
reClear(TransactionSet ts)
This method is called to recharge a
transaction set;
If the old transaction status is false, old transactions are deleted. |
java.util.Iterator |
search(java.lang.String offerCode,
java.lang.String subscriptionCode,
java.lang.String chargeCode,
java.util.Date from)
This method is called by the SAP CC system to retrieve a transaction set
according to an offer code, a subscription code, a charge code and a date which is older than
the transaction purchase date.
|
void initialize(java.util.Properties props)
throws TransactionProcessorFailureException
props - Some properties which can be useful for initializing the transaction processorTransactionProcessorFailureExceptionjava.util.Iterator search(java.lang.String offerCode,
java.lang.String subscriptionCode,
java.lang.String chargeCode,
java.util.Date from)
throws TransactionProcessorFailureException
offerCode - The identification code of an offersubscriptionCode - The identification code of a subscriptionchargeCode - The identification code in order to retrieve transactionfrom - The begining date of transaction reclearTransactionProcessorFailureExceptionvoid reClear(TransactionSet ts) throws TransactionProcessorFailureException
transaction set;
If the old transaction status is false, old transactions are deleted.
Otherweise old transactions are saved.ts - The transaction set to be reclearedTransactionProcessorFailureExceptionvoid close()
throws TransactionProcessorFailureException