Class RequestedAction

  • All Implemented Interfaces:
    Serializable, Enumerated

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

    Documentation from the relevant specification:

    The Requested-Action AVP (AVP Code 436) is of type Enumerated and contains the requested action being sent by Credit-Control-Request command where the CC-Request-Type is set to EVENT_REQUEST.

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

      • DIRECT_DEBITING

        public static final RequestedAction DIRECT_DEBITING
        This indicates a request to decrease the end user's account according to information specified in the Requested-Service-Unit AVP and/or Service-Identifier AVP (additional rating information may be included in service-specific AVPs or in the Service- Parameter-Info AVP). The Granted-Service-Unit AVP in the Credit- Control-Answer command contains the debited units.
      • REFUND_ACCOUNT

        public static final RequestedAction REFUND_ACCOUNT
        This indicates a request to increase the end user's account according to information specified in the Requested-Service-Unit AVP and/or Service-Identifier AVP (additional rating information may be included in service-specific AVPs or in the Service- Parameter-Info AVP). The Granted-Service-Unit AVP in the Credit- Control-Answer command contains the refunded units.
      • CHECK_BALANCE

        public static final RequestedAction CHECK_BALANCE
        This indicates a balance check request. In this case, the checking of the account balance is done without any credit reservation from the account. The Check-Balance-Result AVP in the Credit-Control-Answer command contains the result of the balance check.
      • PRICE_ENQUIRY

        public static final RequestedAction PRICE_ENQUIRY
        This indicates a price enquiry request. In this case, neither checking of the account balance nor reservation from the account will be done; only the price of the service will be returned in the Cost-Information AVP in the Credit-Control-Answer Command.
    • 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