Class CheckBalanceResult

  • All Implemented Interfaces:
    Serializable, Enumerated

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

    Documentation from the relevant specification:

    The Check Balance Result AVP (AVP Code 422) is of type Enumerated and contains the result of the balance check. This AVP is applicable only when the Requested-Action AVP indicates CHECK_BALANCE in the Credit-Control-Request command.

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

      • ENOUGH_CREDIT

        public static final CheckBalanceResult ENOUGH_CREDIT
        There is enough credit in the account to cover the requested service.
      • NO_CREDIT

        public static final CheckBalanceResult NO_CREDIT
        There isn't enough credit in the account to cover the requested service.
    • 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