ITransactionProcessor
Java interface describes the Transaction Integration Framework (TIF); This interface is deprecated
and replaced by the ITransactionProcessor interface.
The following methods are automatically called by the SAP CC system when transactions are delivered.
@Deprecated
public interface TransactionProcessor
| Modifier and Type | Method and Description |
|---|---|
void |
check(ChargedTransactionSet ts)
Deprecated.
This method is called within the
clear process for each (transient) transaction set
generated the SAP CC system;
This method is called manually to check that BnR accounts targets exists when doing a reservation. |
void |
clear(ChargedTransactionSet ts)
Deprecated.
This method is called for each (transient) transaction set generated
by the SAP CC system; This method is responsible for clearing/managing the
set of charged transactions. |
void |
clear(SubsReflect sr)
Deprecated.
This method is called for each subscription reflect that is exported.
|
java.lang.String |
getProcessorID()
Deprecated.
Returns the ID of the processor.
|
void |
initialize(com.highdeal.parameter.IParameterValueProvider parametersManager)
Deprecated.
Initializes the transaction processor; This method is called at launch time of the SAP CC system.
|
void |
reClear(ChargedTransactionSet cts)
Deprecated.
This method is called for each (transient) transaction set generated
by the SAP CC system; This method is in charge of reclearing/managing the transaction set.
|
void |
shutdown()
Deprecated.
This method is called when a rating instance of the SAP CC system shuts down;
It is the opportunity for the transaction processor to do some cleaning before the system
shuts down.
|
void initialize(com.highdeal.parameter.IParameterValueProvider parametersManager)
throws TransactionProcessorFailureException
parametersManager - The parameters used for initializing the transaction processorTransactionProcessorFailureExceptionjava.lang.String getProcessorID()
throws TransactionProcessorFailureException
Ex: For the BnRTransactionProcessor, it returns "BNR".
TransactionProcessorFailureExceptionvoid clear(ChargedTransactionSet ts) throws TransactionProcessorFailureException
set of charged transactions.
Example: A simple action could consist in saving this transaction set into a file.
ts - The transaction set to be clearedTransactionProcessorFailureExceptionvoid check(ChargedTransactionSet ts) throws TransactionProcessorFailureException
clear process for each (transient) transaction set
generated the SAP CC system;
This method is called manually to check that BnR accounts targets exists when doing a reservation.ts - The transaction set to be clearedTransactionProcessorFailureExceptionvoid reClear(ChargedTransactionSet cts) throws TransactionProcessorFailureException
Example: A simple action could consist in saving this transaction set into a file. When reclearing a transaction, its transaction date may be adapted depending on the billing state of the account.
cts - The transaction set to be clearedTransactionProcessorFailureExceptionvoid clear(SubsReflect sr) throws TransactionProcessorFailureException
sr - The subscription reflect to be clearedTransactionProcessorFailureExceptionvoid shutdown()