|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.csapi.jr.se.ChargePerTime
Defines the Sequence of Data Elements that specify the time based charging information.
Constructor Summary | |
ChargePerTime()
Creates a new ChargePerTime instance. |
|
ChargePerTime(int _initialCharge,
int _currentChargePerMinute,
int _nextChargePerMinute)
Creates a new ChargePerTime instance. |
Method Summary | |
boolean |
equals(java.lang.Object o)
Indicates whether some other object is 'equal to' this one. |
int |
getCurrentChargePerMinute()
This method returns a currentChargePerMinute. |
int |
getInitialCharge()
This method returns a initialCharge. |
int |
getNextChargePerMinute()
This method returns a nextChargePerMinute. |
int |
hashCode()
Returns a hashcode value for the object. |
void |
setCurrentChargePerMinute(int currentChargePerMinute)
This method sets a currentChargePerMinute. |
void |
setInitialCharge(int initialCharge)
This method sets a initialCharge. |
void |
setNextChargePerMinute(int nextChargePerMinute)
This method sets a nextChargePerMinute. |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ChargePerTime()
public ChargePerTime(int _initialCharge, int _currentChargePerMinute, int _nextChargePerMinute)
_initialCharge
- Initial charge amount (in currency units * 0.0001)_currentChargePerMinute
- Current tariff (in currency units * 0.0001)_nextChargePerMinute
- Next tariff (in currency units * 0.0001) after tariff switch. Only used in setAdviceOfCharge()Method Detail |
public int getInitialCharge()
public int getCurrentChargePerMinute()
public int getNextChargePerMinute()
public void setInitialCharge(int initialCharge)
public void setCurrentChargePerMinute(int currentChargePerMinute)
public void setNextChargePerMinute(int nextChargePerMinute)
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |