org.csapi.jr.se.cs
Interface ChargingManager

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

public interface ChargingManager
extends Service

This interface represents a ChargingManager.


Field Summary
 
Fields inherited from interface org.csapi.jr.se.Service
IN_SERVICE_STATE, OUT_OF_SERVICE_STATE
 
Method Summary
 void addChargingManagerListener(org.csapi.jr.se.cs.ChargingManagerListener chargingManagerListener)
          Adds a ChargingManagerListener which is interested in events generated by the ChargingManager.
 org.csapi.jr.se.cs.ChargingSession createChargingSession(java.lang.String sessionDescription, org.csapi.jr.se.cs.MerchantAccountID merchantAccount, org.csapi.jr.se.Address user, org.csapi.jr.se.cs.CorrelationID correlationID)
          Invokes the createChargingSession() method on the Parlay Gateway and returns a reference to a transient interface.
 org.csapi.jr.se.cs.ChargingSession createSplitChargingSession(java.lang.String sessionDescription, org.csapi.jr.se.cs.MerchantAccountID merchantAccount, org.csapi.jr.se.Address[] users, org.csapi.jr.se.cs.CorrelationID correlationID)
          Invokes the createSplitChargingSession() method on the Parlay Gateway and returns a reference to a transient interface.
 void removeChargingManagerListener(org.csapi.jr.se.cs.ChargingManagerListener chargingManagerListener)
          Removes a ChargingManagerListener which is no longer interested in events generated by the ChargingManager.
 
Methods inherited from interface org.csapi.jr.se.Service
addServiceStateChangeListener, getServiceState, removeServiceStateChangeListener, setCallback
 

Method Detail

addChargingManagerListener

public void addChargingManagerListener(org.csapi.jr.se.cs.ChargingManagerListener chargingManagerListener)
Adds a ChargingManagerListener which is interested in events generated by the ChargingManager.

Parameters:
chargingManagerListener - A reference to the ChargingManagerListener which is to be added as a listener.

removeChargingManagerListener

public void removeChargingManagerListener(org.csapi.jr.se.cs.ChargingManagerListener chargingManagerListener)
Removes a ChargingManagerListener which is no longer interested in events generated by the ChargingManager.

Parameters:
chargingManagerListener - A reference to the ChargingManagerListener which is to be removed as a listener.

createChargingSession

public org.csapi.jr.se.cs.ChargingSession createChargingSession(java.lang.String sessionDescription,
                                                                org.csapi.jr.se.cs.MerchantAccountID merchantAccount,
                                                                org.csapi.jr.se.Address user,
                                                                org.csapi.jr.se.cs.CorrelationID correlationID)
                                                         throws PlatformException,
                                                                CommonException,
                                                                InvalidUserException,
                                                                InvalidAccountException
Invokes the createChargingSession() method on the Parlay Gateway and returns a reference to a transient interface.

PlatformException
CommonException
InvalidUserException
InvalidAccountException

createSplitChargingSession

public org.csapi.jr.se.cs.ChargingSession createSplitChargingSession(java.lang.String sessionDescription,
                                                                     org.csapi.jr.se.cs.MerchantAccountID merchantAccount,
                                                                     org.csapi.jr.se.Address[] users,
                                                                     org.csapi.jr.se.cs.CorrelationID correlationID)
                                                              throws PlatformException,
                                                                     CommonException,
                                                                     InvalidUserException,
                                                                     InvalidAccountException
Invokes the createSplitChargingSession() method on the Parlay Gateway and returns a reference to a transient interface.

PlatformException
CommonException
InvalidUserException
InvalidAccountException