Interface PARFlexibleBillNowController

All Known Implementing Classes:
PARFlexibleBillNowControllerImpl

public interface PARFlexibleBillNowController
Interface for the flexible bill now.
Author:
mchellam
  • Method Summary

    Modifier and Type
    Method
    Description
    getAccountPendingItems(HashMap criteria, boolean includeChildren, Object[] billInfoData, boolean userConfirmed)
    This method will return all the pending items for the account using the opcode PCM_OP_AR_GET_BILL_ITEMS.
    getBillUnitPendingItems(HashMap criteria, boolean includeChildren, boolean userConfirmed)
    This method will return all the pending items of the currently selected bill unit of the account using the opcode PCM_OP_AR_GET_BILL_ITEMS.
    This method performs the billing by calling the opcode PCM_OP_BILL_MAKE_BILL_NOW
  • Method Details

    • getAccountPendingItems

      Object getAccountPendingItems(HashMap criteria, boolean includeChildren, Object[] billInfoData, boolean userConfirmed) throws RemoteException
      This method will return all the pending items for the account using the opcode PCM_OP_AR_GET_BILL_ITEMS.
      Parameters:
      criteria - , HashMap data passed in for searching.
      includeChildren - , boolean flag indicates whether to include the children or not.
      billInfoData - , It contains bill info data like ARbillinfo poid.
      userConfirmed - , This flag indicates whether the user wants to retrieve all the pending items with/without considering the Threshold. This should be called with "false" first, and then after showing a confirmation to the user and if still they want to continue then pass "true"
      Returns:
      Object, This Object can be either Integer or PModelHandle. If Integer object returned then it indicates the threshold has exceeded. If PModelHandle is returned, then it contains the real pending items data.
      Throws:
      RemoteException
    • getBillUnitPendingItems

      Object getBillUnitPendingItems(HashMap criteria, boolean includeChildren, boolean userConfirmed) throws RemoteException
      This method will return all the pending items of the currently selected bill unit of the account using the opcode PCM_OP_AR_GET_BILL_ITEMS.
      Parameters:
      criteria - , HashMap data passed in for searching.
      includeChildren - , boolean flag indicates whether to include the children or not.
      userConfirmed - , This flag indicates whether the user wants to retrieve all the pending items with/without considering the Threshold. This should be called with "false" first, and then after showing a confirmation to the user and if still they want to continue then pass "true"
      Returns:
      Object, This Object can be either Integer or PModelHandle. If Integer object returned then it indicates the threshold has exceeded. If PModelHandle is returned, then it contains the real pending items data.
      Throws:
      RemoteException
    • performBillNow

      This method performs the billing by calling the opcode PCM_OP_BILL_MAKE_BILL_NOW
      Parameters:
      selectedItems - , ArrayList of selected nodes which is sent for the billing
      Returns:
      PModelHandle
      Throws:
      RemoteException
      EBufException