This interface has to be implemented by the classes responsible for processing the result
of a prerate or postrate operation in business context of real-time charging service with asynchronous communications.
You implement a charging client using the AsyncStatefulServiceClient class.
@Deprecated public interface PrePostRateEventListener extends ChargeExceptionListener, InvalidItemListener
AsyncStatefulServiceClient.preRate(com.highdeal.pnr.hci.ChargeableItem, String, String, java.util.Date, int, boolean, long, int, long, PrePostRateEventListener),
AsyncStatefulServiceClient.postRate(long, String, String, int, int, boolean, com.highdeal.pnr.hci.ChargeableItem, PrePostRateEventListener)| Modifier and Type | Method and Description |
|---|---|
void |
onException(ForbiddenChargeException e)
Deprecated.
|
void |
onException(PostRateException e)
Deprecated.
|
void |
onException(PreRateException e)
Deprecated.
|
void |
onException(TransactionClearingException e)
Deprecated.
|
void |
onResult(PostRateResult result)
Deprecated.
|
void |
onResult(PreRateResult result)
Deprecated.
|
onException, onException, onExceptiononException@Deprecated void onException(ForbiddenChargeException e)
e - the exception to be handled.@Deprecated void onException(TransactionClearingException e)
TransactionClearingException.e - the exception to be handled.@Deprecated void onException(PreRateException e)
PreRateException.e - the exception to be handled.@Deprecated void onResult(PreRateResult result)
result - the result of the prerate operation.@Deprecated void onException(PostRateException e)
PostRateException.e - the exception to be handled.@Deprecated void onResult(PostRateResult result)
result - the result of the postrate operation.