public interface ActivateEventListener extends ChargeExceptionListener
| Modifier and Type | Method and Description |
|---|---|
void |
onException(ActivateException e)
Invoked when the activate operation fails because of an
ActivateException. |
void |
onException(ForbiddenChargeException e)
Invoked if the server cannot retrieve the subscription or if a parameter operation is malformed.
|
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(PurchaseOrder order)
Invoked when the activate operation is successful.
|
onException, onException, onExceptionvoid onException(ForbiddenChargeException e)
e - the exception to be handled.void onException(TransactionClearingException e)
e - the exception to be handled.void onException(ActivateException e)
ActivateException.e - the exception to be handled.void onResult(PurchaseOrder order)
order - the related purchase order which will contain the list of generated transactions (if required and if
some transactions exist)- one shot and recurring ones -. However, the purchase order will contain the
total of generated amounts and the state of the purchase.