org.csapi.jr.se.cs
Class CreditAmountResEvent

java.lang.Object
  |
  +--java.util.EventObject
        |
        +--org.csapi.jr.se.cs.CreditAmountResEvent
All Implemented Interfaces:
java.io.Serializable

public final class CreditAmountResEvent
extends java.util.EventObject

Event created by an activity object to indicate that a Gateway originated call to the creditAmountRes() method on the callback interface has occured.

See Also:
Serialized Form

Constructor Summary
CreditAmountResEvent(java.lang.Object source, org.csapi.jr.se.cs.ChargingPrice creditedAmount, org.csapi.jr.se.cs.ChargingPrice reservedAmountLeft)
          Constructor for the CreditAmountResEvent Event.
 
Method Summary
 org.csapi.jr.se.cs.ChargingPrice getCreditedAmount()
          This method is used to retrieve the parameter value of 'creditedAmount' passed up from the Gateway in it's call to the creditAmountRes() method, used on the creation of this event.
 org.csapi.jr.se.cs.ChargingPrice getReservedAmountLeft()
          This method is used to retrieve the parameter value of 'reservedAmountLeft' passed up from the Gateway in it's call to the creditAmountRes() method, used on the creation of this event.
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CreditAmountResEvent

public CreditAmountResEvent(java.lang.Object source,
                            org.csapi.jr.se.cs.ChargingPrice creditedAmount,
                            org.csapi.jr.se.cs.ChargingPrice reservedAmountLeft)
Constructor for the CreditAmountResEvent Event.

Parameters:
source - Reference to the object firing the event.
Method Detail

getCreditedAmount

public org.csapi.jr.se.cs.ChargingPrice getCreditedAmount()
This method is used to retrieve the parameter value of 'creditedAmount' passed up from the Gateway in it's call to the creditAmountRes() method, used on the creation of this event.

Returns:
The value of 'creditedAmount' used on creation of this event.

getReservedAmountLeft

public org.csapi.jr.se.cs.ChargingPrice getReservedAmountLeft()
This method is used to retrieve the parameter value of 'reservedAmountLeft' passed up from the Gateway in it's call to the creditAmountRes() method, used on the creation of this event.

Returns:
The value of 'reservedAmountLeft' used on creation of this event.