Package com.highdeal.pnr.tif
Interface ReclearSession
public interface ReclearSession
This
Java interface describes a session for reclearing a transaction set.
Implementation in Your Client Application
Customizing Sequence
You must first open the session. After all the reclear, you must close the session.
-
Method Summary
Modifier and TypeMethodDescriptionvoidclose()Closes the reclear session; This method must be applied after a set of reclear operation.voidinitialize(Properties props) Initializes the transaction processor with some properties; This method is called by the SAP CC system at startup time.voidThis method is called to recharge atransaction set; If the old transaction status isfalse, old transactions are deleted.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.
-
Method Details
-
initialize
Initializes the transaction processor with some properties; This method is called by the SAP CC system at startup time.- Parameters:
props- Some properties which can be useful for initializing the transaction processor- Throws:
TransactionProcessorFailureException
-
search
Iterator search(String offerCode, String subscriptionCode, String chargeCode, Date from) throws TransactionProcessorFailureException 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.- Parameters:
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 reclear- Throws:
TransactionProcessorFailureException
-
reClear
This method is called to recharge atransaction set; If the old transaction status isfalse, old transactions are deleted. Otherweise old transactions are saved.- Parameters:
ts- Thetransaction setto be recleared- Throws:
TransactionProcessorFailureException
-
close
Closes the reclear session; This method must be applied after a set of reclear operation.
-