org.csapi.jr.se.am
Interface DestroyVoucher

All Superinterfaces:
Activity, CsapiInterface, java.io.Serializable

public interface DestroyVoucher
extends Activity

This interface represents a DestroyVoucher activity object.


Field Summary
 
Fields inherited from interface org.csapi.jr.se.Activity
ACTIVE_STATE, IDLE_STATE, INVALID_STATE
 
Method Summary
 void addDestroyVoucherListener(DestroyVoucherListener destroyVoucherListener)
          Adds a DestroyVoucherListener which is interested in events generated by the DestroyVoucher.
 void destroyVoucherReq()
          Invokes the destroyVoucherReq() method on the Parlay Gateway.
 AccountManager getAccountManager()
          Returns a reference to the AccountManager responsible for creation of the DestroyVoucher.
 void removeDestroyVoucherListener(DestroyVoucherListener destroyVoucherListener)
          Removes a DestroyVoucherListener which is no longer interested events generated by the DestroyVoucher.
 
Methods inherited from interface org.csapi.jr.se.Activity
addActivityStateChangeListener, getState, removeActivityStateChangeListener
 

Method Detail

getAccountManager

public AccountManager getAccountManager()
Returns a reference to the AccountManager responsible for creation of the DestroyVoucher.

Returns:
A reference to the AccountManager responsible for creation of the DestroyVoucher.

addDestroyVoucherListener

public void addDestroyVoucherListener(DestroyVoucherListener destroyVoucherListener)
Adds a DestroyVoucherListener which is interested in events generated by the DestroyVoucher.

Parameters:
destroyVoucherListener - A reference to the DestroyVoucherListener which is to be added as a listener.

removeDestroyVoucherListener

public void removeDestroyVoucherListener(DestroyVoucherListener destroyVoucherListener)
Removes a DestroyVoucherListener which is no longer interested events generated by the DestroyVoucher.

Parameters:
destroyVoucherListener - A reference to the DestroyVoucherListener which is to be removed as a listener.

destroyVoucherReq

public void destroyVoucherReq()
                       throws PlatformException,
                              java.lang.IllegalStateException,
                              CommonException,
                              UnauthorizedApplicationException
Invokes the destroyVoucherReq() method on the Parlay Gateway.

Throws:
PlatformException
java.lang.IllegalStateException
CommonException
UnauthorizedApplicationException