public class TariffChangeUsage extends java.lang.Object implements java.io.Serializable, Enumerated
Modifier and Type | Field and Description |
---|---|
static int |
_UNIT_AFTER_TARIFF_CHANGE |
static int |
_UNIT_BEFORE_TARIFF_CHANGE |
static int |
_UNIT_INDETERMINATE |
static TariffChangeUsage |
UNIT_AFTER_TARIFF_CHANGE
When present in the Multiple-Services-Credit-Control AVP, this value indicates the amount of the units allocated for use after a tariff change occurs.
|
static TariffChangeUsage |
UNIT_BEFORE_TARIFF_CHANGE
When present in the Multiple-Services-Credit-Control AVP, this value indicates the amount of the units allocated for use before a tariff change occurs.
|
static TariffChangeUsage |
UNIT_INDETERMINATE
The used unit contains the amount of units that straddle the tariff change (e.g., the metering process reports to the credit- control client in blocks of n octets, and one block straddled the tariff change).
|
Modifier and Type | Method and Description |
---|---|
static TariffChangeUsage |
fromInt(int type) |
int |
getValue()
Return the value of this instance of this enumerated type.
|
java.lang.String |
toString() |
public static final int _UNIT_BEFORE_TARIFF_CHANGE
public static final int _UNIT_AFTER_TARIFF_CHANGE
public static final int _UNIT_INDETERMINATE
public static final TariffChangeUsage UNIT_BEFORE_TARIFF_CHANGE
public static final TariffChangeUsage UNIT_AFTER_TARIFF_CHANGE
public static final TariffChangeUsage UNIT_INDETERMINATE
public static TariffChangeUsage fromInt(int type)
public int getValue()
Enumerated
getValue
in interface Enumerated
public java.lang.String toString()
toString
in class java.lang.Object