Class ChargeReasonCode
- java.lang.Object
-
- org.jainslee.resources.diameter.rf.types.vb80.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_CHARGEstatic int_COMMUNICATION_ATTEMPT_CHARGEstatic int_SETUP_CHARGEstatic int_UNKNOWNstatic int_USAGEstatic ChargeReasonCodeADD_ON_CHARGEstatic ChargeReasonCodeCOMMUNICATION_ATTEMPT_CHARGEstatic ChargeReasonCodeSETUP_CHARGEstatic ChargeReasonCodeUNKNOWNstatic ChargeReasonCodeUSAGE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ChargeReasonCodefromInt(int type)intgetValue()Return the value of this instance of this enumerated type.StringtoString()
-
-
-
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:EnumeratedReturn the value of this instance of this enumerated type.- Specified by:
getValuein interfaceEnumerated- Returns:
- value
-
-