org.csapi.jr.se.cs
Class DebitAmountResEvent

java.lang.Object
  extended byjava.util.EventObject
      extended byorg.csapi.jr.se.cs.DebitAmountResEvent
All Implemented Interfaces:
java.io.Serializable

public final class DebitAmountResEvent
extends java.util.EventObject

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

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
DebitAmountResEvent(java.lang.Object source, ChargingPrice debitedAmount, ChargingPrice reservedAmountLeft)
          Constructor for the DebitAmountResEvent Event.
 
Method Summary
 ChargingPrice getDebitedAmount()
          This method is used to retrieve the parameter value of 'debitedAmount' passed up from the Gateway in it's call to the debitAmountRes() method, used on the creation of this event.
 ChargingPrice getReservedAmountLeft()
          This method is used to retrieve the parameter value of 'reservedAmountLeft' passed up from the Gateway in it's call to the debitAmountRes() method, used on the creation of this event.
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DebitAmountResEvent

public DebitAmountResEvent(java.lang.Object source,
                           ChargingPrice debitedAmount,
                           ChargingPrice reservedAmountLeft)
Constructor for the DebitAmountResEvent Event.

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

getDebitedAmount

public ChargingPrice getDebitedAmount()
This method is used to retrieve the parameter value of 'debitedAmount' passed up from the Gateway in it's call to the debitAmountRes() method, used on the creation of this event.

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

getReservedAmountLeft

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

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