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
 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.
 

Method Detail

initialize

void initialize(java.util.Properties props)
                throws TransactionProcessorFailureException
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

java.util.Iterator search(java.lang.String offerCode,
                          java.lang.String subscriptionCode,
                          java.lang.String chargeCode,
                          java.util.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 offer
subscriptionCode - The identification code of a subscription
chargeCode - The identification code in order to retrieve transaction
from - The begining date of transaction reclear
Throws:
TransactionProcessorFailureException

reClear

void reClear(TransactionSet ts)
             throws TransactionProcessorFailureException
This method is called to recharge a transaction set; If the old transaction status is false, old transactions are deleted. Otherweise old transactions are saved.

Parameters:
ts - The transaction set to be recleared
Throws:
TransactionProcessorFailureException

close

void close()
           throws TransactionProcessorFailureException
Closes the reclear session; This method must be applied after a set of reclear operation.

Throws:
TransactionProcessorFailureException

Document Published: October 2015 (SAP CC 4.0 SP10 and Later)