SAP CC 1.0
API 4.2 (Core)

com.highdeal.cnd.message
Interface ActivateEventListener

All Superinterfaces:
ChargeExceptionListener
All Known Implementing Classes:
AbstractStatefulServiceClient.UniversalChargeEventListener

public interface ActivateEventListener
extends ChargeExceptionListener

This interface has to be implemented by the classes in charge for processing the result of the activate operation.

See Also:
AsyncStatefulServiceClient.activate(String, String, int, boolean, java.util.Date, ActivateEventListener)

Method Summary
 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.
 
Methods inherited from interface com.highdeal.cnd.message.ChargeExceptionListener
onException, onException, onException
 

Method Detail

onException

void onException(ForbiddenChargeException e)
Invoked if the server cannot retrieve the subscription or if a parameter operation is malformed.

Parameters:
e - the exception to be handled.

onException

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.

Parameters:
e - the exception to be handled.

onException

void onException(ActivateException e)
Invoked when the activate operation fails because of an ActivateException.

Parameters:
e - the exception to be handled.

onResult

void onResult(PurchaseOrder order)
Invoked when the activate operation is successful.

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

SAP CC 1.0
API 4.2 (Core)


API Reference - July 2009

SAP Convergent Charging 1.0 (build R4.2.1.35.0.0)
CONVERGENT CHARGING 4.2

(c) Copyright 2009 SAP AG. All rights reserved.