Class ChargeReasonCode
- java.lang.Object
-
- org.jainslee.resources.diameter.rf.types.vcb0.ChargeReasonCode
-
- All Implemented Interfaces:
Serializable
,Enumerated
public class ChargeReasonCode extends Object implements Serializable, Enumerated
Java class to represent the ChargeReasonCode enumerated type. Documentation from the relevant specification: The Charge-Reason-Code AVP (AVP code 2118) is of type Enumerated and identifies if the Rate-Element corresponds to a specific charge type.- Author:
- Open Cloud
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static int
_ADD_ON_CHARGE
static int
_COMMUNICATION_ATTEMPT_CHARGE
static int
_SETUP_CHARGE
static int
_UNKNOWN
static int
_USAGE
static ChargeReasonCode
ADD_ON_CHARGE
static ChargeReasonCode
COMMUNICATION_ATTEMPT_CHARGE
static ChargeReasonCode
SETUP_CHARGE
static ChargeReasonCode
UNKNOWN
static ChargeReasonCode
USAGE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ChargeReasonCode
fromInt(int type)
int
getValue()
Return the value of this instance of this enumerated type.String
toString()
-
-
-
Field Detail
-
_UNKNOWN
public static final int _UNKNOWN
- See Also:
- Constant Field Values
-
_USAGE
public static final int _USAGE
- See Also:
- Constant Field Values
-
_COMMUNICATION_ATTEMPT_CHARGE
public static final int _COMMUNICATION_ATTEMPT_CHARGE
- See Also:
- Constant Field Values
-
_SETUP_CHARGE
public static final int _SETUP_CHARGE
- See Also:
- Constant Field Values
-
_ADD_ON_CHARGE
public static final int _ADD_ON_CHARGE
- See Also:
- Constant Field Values
-
UNKNOWN
public static final ChargeReasonCode UNKNOWN
-
USAGE
public static final ChargeReasonCode USAGE
-
COMMUNICATION_ATTEMPT_CHARGE
public static final ChargeReasonCode COMMUNICATION_ATTEMPT_CHARGE
-
SETUP_CHARGE
public static final ChargeReasonCode SETUP_CHARGE
-
ADD_ON_CHARGE
public static final ChargeReasonCode ADD_ON_CHARGE
-
-
Method Detail
-
fromInt
public static ChargeReasonCode fromInt(int type)
-
getValue
public int getValue()
Description copied from interface:Enumerated
Return the value of this instance of this enumerated type.- Specified by:
getValue
in interfaceEnumerated
- Returns:
- value
-
-