public interface ChargingResultListener extends ChargeExceptionListener, InvalidItemListener
result
of an asynchronous charging operation.| Modifier and Type | Method and Description |
|---|---|
void |
onException(ForbiddenChargeException e)
Invoked when the rating is not allowed.
|
void |
onException(TransactionClearingException e)
Invoked if the Transaction Processor plugged on the PnR output, is not able
to clear at least one of the generated transactions.
|
void |
onResult(ChargingResult result)
Invoked when the charging operation is successful.
|
onException, onException, onExceptiononExceptionvoid onException(ForbiddenChargeException e)
e - the exception to be handledvoid onException(TransactionClearingException e)
e - the exception to be handledvoid onResult(ChargingResult result)
result - the result of the charging operation