Class CreditControl

  • All Implemented Interfaces:
    Serializable, Enumerated

    public class CreditControl
    extends Object
    implements Serializable, Enumerated
    Java class to represent the CreditControl enumerated type.

    Documentation from the relevant specification:

    The Credit-Control AVP (AVP Code 426) is of type Enumerated and MUST be included in AA requests when the service element has credit- control capabilities.

    Author:
    Open Cloud
    See Also:
    Serialized Form
    • Field Detail

      • CREDIT_AUTHORIZATION

        public static final CreditControl CREDIT_AUTHORIZATION
        If the home Diameter AAA server determines that the user has prepaid subscription, this value indicates that the credit-control server MUST be contacted to perform the first interrogation. The value of the Credit-Control AVP MUST always be set to 0 in an AA request sent to perform the first interrogation and to initiate a new credit-control session.
      • RE_AUTHORIZATION

        public static final CreditControl RE_AUTHORIZATION
        This value indicates to the Diameter AAA server that a credit- control session is ongoing for the subscriber and that the credit-control server MUST not be contacted. The Credit-Control AVP set to the value of 1 is to be used only when the first interrogation has been successfully performed and the credit- control session is ongoing (i.e., re-authorization triggered by Authorization-Lifetime). This value MUST NOT be used in an AA request sent to perform the first interrogation.
    • Method Detail

      • getValue

        public int getValue()
        Description copied from interface: Enumerated
        Return the value of this instance of this enumerated type.
        Specified by:
        getValue in interface Enumerated
        Returns:
        value