org.csapi.jr.se.cs
Class ChargingError

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

public final class ChargingError
extends java.lang.Object
implements java.io.Serializable

Indicates the error that occurred.

See Also:
Serialized Form

Field Summary
static int _CHS_ERR_ACCOUNT
          Merchant account unknown.
static int _CHS_ERR_CONFIRMATION_REQUIRED
          A user confirmation is required, but couldn't be obtained by the SCS.
static int _CHS_ERR_CURRENCY
          This currency is not supported for this transaction.
static int _CHS_ERR_NO_CREDIT
          For some reason the application is not allowed to pay this user.
static int _CHS_ERR_NO_DEBIT
          For some reason the application is not allowed to get money from this user.
static int _CHS_ERR_NO_EXTEND
          Request to extend the lifetime of a reservation is rejected.
static int _CHS_ERR_PARAMETER
          The set of charging parameters contains an unknown parameter, or a required parameter is missing.
static int _CHS_ERR_RESERVATION_LIMIT
          This amount or volume violates the bounds of the reservation.
static int _CHS_ERR_UNDEFINED
          Generic error.
static int _CHS_ERR_USER
          Unknown user.
static int _CHS_ERR_VOLUMES
          Required volumes are missing.
static org.csapi.jr.se.cs.ChargingError CHS_ERR_ACCOUNT
          Merchant account unknown.
static org.csapi.jr.se.cs.ChargingError CHS_ERR_CONFIRMATION_REQUIRED
          A user confirmation is required, but couldn't be obtained by the SCS.
static org.csapi.jr.se.cs.ChargingError CHS_ERR_CURRENCY
          This currency is not supported for this transaction.
static org.csapi.jr.se.cs.ChargingError CHS_ERR_NO_CREDIT
          For some reason the application is not allowed to pay this user.
static org.csapi.jr.se.cs.ChargingError CHS_ERR_NO_DEBIT
          For some reason the application is not allowed to get money from this user.
static org.csapi.jr.se.cs.ChargingError CHS_ERR_NO_EXTEND
          Request to extend the lifetime of a reservation is rejected.
static org.csapi.jr.se.cs.ChargingError CHS_ERR_PARAMETER
          The set of charging parameters contains an unknown parameter, or a required parameter is missing.
static org.csapi.jr.se.cs.ChargingError CHS_ERR_RESERVATION_LIMIT
          This amount or volume violates the bounds of the reservation.
static org.csapi.jr.se.cs.ChargingError CHS_ERR_UNDEFINED
          Generic error.
static org.csapi.jr.se.cs.ChargingError CHS_ERR_USER
          Unknown user.
static org.csapi.jr.se.cs.ChargingError CHS_ERR_VOLUMES
          Required volumes are missing.
 
Method Summary
 boolean equals(java.lang.Object o)
          Indicates whether some other object is 'equal to' this one.
static org.csapi.jr.se.cs.ChargingError getObject(int value)
          Accepts values in the range of 0 to 10
 int getValue()
          Number representing enum type
 java.lang.String getValueText()
          getValueText method, overrides the getValueText() method in class java.lang.Object
 int hashCode()
          Returns a hashcode value for the object.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_CHS_ERR_UNDEFINED

public static final int _CHS_ERR_UNDEFINED
Generic error.

See Also:
Constant Field Values

CHS_ERR_UNDEFINED

public static final org.csapi.jr.se.cs.ChargingError CHS_ERR_UNDEFINED
Generic error.


_CHS_ERR_ACCOUNT

public static final int _CHS_ERR_ACCOUNT
Merchant account unknown.

See Also:
Constant Field Values

CHS_ERR_ACCOUNT

public static final org.csapi.jr.se.cs.ChargingError CHS_ERR_ACCOUNT
Merchant account unknown.


_CHS_ERR_USER

public static final int _CHS_ERR_USER
Unknown user.

See Also:
Constant Field Values

CHS_ERR_USER

public static final org.csapi.jr.se.cs.ChargingError CHS_ERR_USER
Unknown user.


_CHS_ERR_PARAMETER

public static final int _CHS_ERR_PARAMETER
The set of charging parameters contains an unknown parameter, or a required parameter is missing.

See Also:
Constant Field Values

CHS_ERR_PARAMETER

public static final org.csapi.jr.se.cs.ChargingError CHS_ERR_PARAMETER
The set of charging parameters contains an unknown parameter, or a required parameter is missing.


_CHS_ERR_NO_DEBIT

public static final int _CHS_ERR_NO_DEBIT
For some reason the application is not allowed to get money from this user.

See Also:
Constant Field Values

CHS_ERR_NO_DEBIT

public static final org.csapi.jr.se.cs.ChargingError CHS_ERR_NO_DEBIT
For some reason the application is not allowed to get money from this user.


_CHS_ERR_NO_CREDIT

public static final int _CHS_ERR_NO_CREDIT
For some reason the application is not allowed to pay this user.

See Also:
Constant Field Values

CHS_ERR_NO_CREDIT

public static final org.csapi.jr.se.cs.ChargingError CHS_ERR_NO_CREDIT
For some reason the application is not allowed to pay this user.


_CHS_ERR_VOLUMES

public static final int _CHS_ERR_VOLUMES
Required volumes are missing.

See Also:
Constant Field Values

CHS_ERR_VOLUMES

public static final org.csapi.jr.se.cs.ChargingError CHS_ERR_VOLUMES
Required volumes are missing.


_CHS_ERR_CURRENCY

public static final int _CHS_ERR_CURRENCY
This currency is not supported for this transaction.

See Also:
Constant Field Values

CHS_ERR_CURRENCY

public static final org.csapi.jr.se.cs.ChargingError CHS_ERR_CURRENCY
This currency is not supported for this transaction.


_CHS_ERR_NO_EXTEND

public static final int _CHS_ERR_NO_EXTEND
Request to extend the lifetime of a reservation is rejected.

See Also:
Constant Field Values

CHS_ERR_NO_EXTEND

public static final org.csapi.jr.se.cs.ChargingError CHS_ERR_NO_EXTEND
Request to extend the lifetime of a reservation is rejected.


_CHS_ERR_RESERVATION_LIMIT

public static final int _CHS_ERR_RESERVATION_LIMIT
This amount or volume violates the bounds of the reservation.

See Also:
Constant Field Values

CHS_ERR_RESERVATION_LIMIT

public static final org.csapi.jr.se.cs.ChargingError CHS_ERR_RESERVATION_LIMIT
This amount or volume violates the bounds of the reservation.


_CHS_ERR_CONFIRMATION_REQUIRED

public static final int _CHS_ERR_CONFIRMATION_REQUIRED
A user confirmation is required, but couldn't be obtained by the SCS. The SCS expects that the client initiates a stored confirmation scenario.

See Also:
Constant Field Values

CHS_ERR_CONFIRMATION_REQUIRED

public static final org.csapi.jr.se.cs.ChargingError CHS_ERR_CONFIRMATION_REQUIRED
A user confirmation is required, but couldn't be obtained by the SCS. The SCS expects that the client initiates a stored confirmation scenario.

Method Detail

getValue

public int getValue()
Number representing enum type

Returns:
int number representing type of object, this is defined within the class

getValueText

public java.lang.String getValueText()
getValueText method, overrides the getValueText() method in class java.lang.Object

Returns:
String The stringified version of the ChargingError object

getObject

public static org.csapi.jr.se.cs.ChargingError getObject(int value)
                                                  throws InvalidEnumValueException
Accepts values in the range of 0 to 10

Parameters:
value - number representing type of object, this is defined within the class
Throws:
InvalidEnumValueException - thrown if invalid value is passed into method

equals

public boolean equals(java.lang.Object o)
Indicates whether some other object is 'equal to' this one.

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Returns a hashcode value for the object.

Overrides:
hashCode in class java.lang.Object